![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#2 |
|
Active Warrior
Join Date: May 2006
Location: Raleigh, NC
Posts: 86
Thanks: 9
Thanked 14 Times in 14 Posts
|
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! |
|
|
|
|
| The Following User Says Thank You to mgkimsal For This Useful Post: |
|
|
#5 |
|
Active Warrior
Join Date: May 2006
Location: Raleigh, NC
Posts: 86
Thanks: 9
Thanked 14 Times in 14 Posts
|
|
|
http://jsmag.com - for javascript developers
http://groovymag.com - for groovy developers Register for a free 24 page sampler of each magazine! |
|
|
|
|
|
|
#6 |
|
Active Warrior
Join Date: May 2006
Location: Raleigh, NC
Posts: 86
Thanks: 9
Thanked 14 Times in 14 Posts
|
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! |
|
|
|
|
|
|
#7 |
|
Gold Nuggets Producer
War Room Member
|
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
|
|
|
|
|
|
#8 |
|
Selling Online Since 1998
War Room Member
Join Date: Oct 2009
Location: Orange County, CA
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
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
|
|
|
|
|
![]() |
|
| Tags |
| equivalent, perl, php, wwwmechanize |
| Thread Tools | |
|
|
![]() |