RE: [PHP] session cookie authentication
| From: | Jason Murray | Date: | Sun, 14 Jan 2001 22:48:10 +0000 |
| Subject: | RE: [PHP] session cookie authentication | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34512@lists.php.net to get a copy of this message | ||
> is it possible to write a script that can screen scrape a
> site that uses session cookies for authentication? the reasoning
> for this is so that i can add check boxes to a list so i can reset
> more then one port on my isp router at a time. thanks
You could have cURL make POST and GET requests to the remote server,
show headers (thus displaying the cookies), and parse the output
so that you can find the cookie values in your script.
cURL: http://curl.haxx.se/
Jason
--
Jason Murray
jasonm@melbourneit.com.au
Web Design Team, Melbourne IT
Fetch the comfy chair!