On Sun, Dec 16, 2001 at 11:48:38PM -0800, David Yee wrote:

> Is it possible to have PHP act like a web browser, accept cookies and
> post data (for login)?  I'm not sure exactly where to start- I know
> you can use fopen/file to retrieve url's but I'm not too sure about
> the other steps.  I would like to write and run such a php script as
> a cron job and have it do something like log into my web-based email
> account, retrieve emails, process them, save them locally, and then
> delete them on the server.  Thanks for any help.

Have a look at hte Snoopy PHP class, an object that simulates a web
browser.

http://sourceforge.net/projects/snoopy/

Matt

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to