War Room

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

Featured Warrior Special Offer...
"Members Of The *War Room* Discover Secrets To Immediate Success!"
Reply
 
LinkBack Thread Tools
Old 10-23-2009, 01:39 PM   #1
Gold Nuggets Producer
War Room Member
 
Join Date: Jun 2009
Posts: 738
Blog Entries: 2
Thanks: 143
Thanked 655 Times in 87 Posts
Default [Q] PHP equivalent of perl WWW::Mechanize?

Is there such a thing?
Joe118 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-23-2009, 09:02 PM   #2
Active Warrior
 
Join Date: May 2006
Location: Raleigh, NC
Posts: 86
Thanks: 9
Thanked 14 Times in 14 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.

http://jsmag.com - for javascript developers
http://groovymag.com - for groovy developers
Register for a free 24 page sampler of each magazine!
mgkimsal is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to mgkimsal For This Useful Post:
Old 10-24-2009, 02:30 AM   #3
Gold Nuggets Producer
War Room Member
 
Join Date: Jun 2009
Posts: 738
Blog Entries: 2
Thanks: 143
Thanked 655 Times in 87 Posts
Default Re: [Q] PHP equivalent of perl WWW::Mechanize?

Snoopy looks great, many thanks!!!!
Joe118 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-24-2009, 08:19 PM   #4
Gold Nuggets Producer
War Room Member
 
Join Date: Jun 2009
Posts: 738
Blog Entries: 2
Thanks: 143
Thanked 655 Times in 87 Posts
Default Re: [Q] PHP equivalent of perl WWW::Mechanize?

Any other options? Thanks for those that were presented so far..
Joe118 is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-24-2009, 10:52 PM   #5
Active Warrior
 
Join Date: May 2006
Location: Raleigh, NC
Posts: 86
Thanks: 9
Thanked 14 Times in 14 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?

http://jsmag.com - for javascript developers
http://groovymag.com - for groovy developers
Register for a free 24 page sampler of each magazine!
mgkimsal is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-24-2009, 10:54 PM   #6
Active Warrior
 
Join Date: May 2006
Location: Raleigh, NC
Posts: 86
Thanks: 9
Thanked 14 Times in 14 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.

http://jsmag.com - for javascript developers
http://groovymag.com - for groovy developers
Register for a free 24 page sampler of each magazine!
mgkimsal is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2009, 01:11 AM   #7
Gold Nuggets Producer
War Room Member
 
Join Date: Jun 2009
Posts: 738
Blog Entries: 2
Thanks: 143
Thanked 655 Times in 87 Posts
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 online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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: 11
Thanks: 0
Thanked 0 Times in 0 Posts
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)

2 simple things I did to get over $7,000 in memberships each: How To Start a Membership Site
MemberCon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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 08:19 AM.