Re: PHP as a web browser?

From: Date: Mon, 17 Dec 2001 20:07:15 +0000
Subject: Re: PHP as a web browser?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77993@lists.php.net to get a copy of this message
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

« previous php.general (#77993) next »