Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 10-23-2009, 01:39 PM   #1
Gold Nuggets Producer
War Room Member
 
Joe118's Avatar
 
Join Date: Jun 2009
Posts: 2,309
Blog Entries: 2
Thanks: 657
Thanked 2,162 Times in 388 Posts
Contact Info
Send a message via Skype™ to Joe118
Default [Q] PHP equivalent of perl WWW::Mechanize?

Is there such a thing?
Joe118 is offline   Reply With Quote
Old 10-23-2009, 09:02 PM   #2
HyperActive Warrior
War Room Member
 
Join Date: May 2006
Location: Raleigh, NC
Posts: 242
Thanks: 17
Thanked 37 Times in 31 Posts
Social Networking View Member's Twitter Profile 
Default Re: [Q] PHP equivalent of perl WWW::Mechanize?

Have a look at Snoopy for PHP - Snoopy | Get Snoopy at SourceForge.net

Also, the Zend HTTP Client (in the Zend Framework) might fit the bill too.

Michael Kimsal
http://heywords.com/srv - take our 2 minute survey
mgkimsal is offline   Reply With Quote
Old 10-24-2009, 02:30 AM   #3
Gold Nuggets Producer
War Room Member
 
Joe118's Avatar
 
Join Date: Jun 2009
Posts: 2,309
Blog Entries: 2
Thanks: 657
Thanked 2,162 Times in 388 Posts
Contact Info
Send a message via Skype™ to Joe118
Default Re: [Q] PHP equivalent of perl WWW::Mechanize?

Snoopy looks great, many thanks!!!!
Joe118 is offline   Reply With Quote
Old 10-24-2009, 08:19 PM   #4
Gold Nuggets Producer
War Room Member
 
Joe118's Avatar
 
Join Date: Jun 2009
Posts: 2,309
Blog Entries: 2
Thanks: 657
Thanked 2,162 Times in 388 Posts
Contact Info
Send a message via Skype™ to Joe118
Default Re: [Q] PHP equivalent of perl WWW::Mechanize?

Any other options? Thanks for those that were presented so far..
Joe118 is offline   Reply With Quote
Old 10-24-2009, 10:52 PM   #5
HyperActive Warrior
War Room Member
 
Join Date: May 2006
Location: Raleigh, NC
Posts: 242
Thanks: 17
Thanked 37 Times in 31 Posts
Social Networking View Member's Twitter Profile 
Default Re: [Q] PHP equivalent of perl WWW::Mechanize?

Quote:
Originally Posted by Joe118 View Post
Any other options? Thanks for those that were presented so far..
Snoopy not doing it for you?

Michael Kimsal
http://heywords.com/srv - take our 2 minute survey
mgkimsal is offline   Reply With Quote
Old 10-24-2009, 10:54 PM   #6
HyperActive Warrior
War Room Member
 
Join Date: May 2006
Location: Raleigh, NC
Posts: 242
Thanks: 17
Thanked 37 Times in 31 Posts
Social Networking View Member's Twitter Profile 
Default Re: [Q] PHP equivalent of perl WWW::Mechanize?

Quote:
Originally Posted by Joe118 View Post
Any other options? Thanks for those that were presented so far..
Snoopy not doing it for you? I'm out of ideas at the moment - my needs don't normally go much beyond file_get_contents("http://whatever.com") You *can* get fancy and put header and user agent stuff and cookies and all that in your file functions (fopen, fputs, fgets, etc) by creating contexts and passing them as parameters to the file streams. It's a bit advanced, and (imo) not well documented with tutorials, but that might be a direction to go in.

Good luck.

Michael Kimsal
http://heywords.com/srv - take our 2 minute survey
mgkimsal is offline   Reply With Quote
Old 10-26-2009, 01:11 AM   #7
Gold Nuggets Producer
War Room Member
 
Joe118's Avatar
 
Join Date: Jun 2009
Posts: 2,309
Blog Entries: 2
Thanks: 657
Thanked 2,162 Times in 388 Posts
Contact Info
Send a message via Skype™ to Joe118
Default Re: [Q] PHP equivalent of perl WWW::Mechanize?

I need to do cookie management, form submission, etc etc etc... Anything and everything to automate websites.

I think snoopy will do it for me, yes. Not sure yet. I want a few other alternatives so I can synthesize
Joe118 is offline   Reply With Quote
Old 10-27-2009, 01:46 PM   #8
Selling Online Since 1998
War Room Member
 
MemberCon's Avatar
 
Join Date: Oct 2009
Location: Orange County, CA
Posts: 17
Thanks: 0
Thanked 2 Times in 1 Post
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Default Re: [Q] PHP equivalent of perl WWW::Mechanize?

It's not as high-level as WWW::Mechanize or Snoopy, but I generally turn to cURL (PHP: cURL - Manual) for this type of interaction with web pages.

It can handle POSTing (Execute a HTTP POST Using PHP CURL) and cookies (PHP cURL Cookies Example)

How we sell content, subscriptions and memberships - Lessons learned and money made: Membercon.com
MemberCon is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
equivalent, perl, php, wwwmechanize

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 04:11 AM.