Re: Emulating a browser, parse cookies with PHP
| From: | heinisch at creaction dot de | Date: | Mon, 08 Apr 2002 08:18:47 +0000 |
| Subject: | Re: Emulating a browser, parse cookies with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92012@lists.php.net to get a copy of this message | ||
At 07.04.2002 16:22, you wrote:
Hi, I'm trying to make a PHP script that would go in a website and log in. The website uses cookie to authenticate with its services. I made HTTP GET requests using fsockopen and parsed the results back into a variable. However I cannot find the cookie info(Set-cookie) in the returned content. Is there special commands I have to send with the GET request in order for the server to send back cookies? Or am I just doing this all wrong? Any help will be appreciated! Lokk at sourceforge.net, look for 'snoopy', that´s what makes everything you needOliver