Re: PHP as a web browser?
| From: | Fred | Date: | Mon, 17 Dec 2001 17:46:03 +0000 |
| Subject: | Re: PHP as a web browser? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77966@lists.php.net to get a copy of this message | ||
Try using CURL.
http://php.he.net/manual/en/ref.curl.php
Fred
David Yee <david@coolcomputing.com> wrote in message
news:012501c186cf$3e14b020$0a01a8c0@sphere1.com...
> 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.
>
> David
>