Fetch side with Cookies
| From: | Martin Thoma | Date: | Thu, 15 Mar 2001 08:33:02 +0000 |
| Subject: | Fetch side with Cookies | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43994@lists.php.net to get a copy of this message | ||
Hello !
I have a side, which I can only access when a special cookie is set. I
want to access and analyse the side with php.
So I could not use fopen("http://www.thesidename.com", "r"),
because
this will not transmit the cookie.
I thought of something with sockets and sending a HTTP-Get with the
cookie. But I have no idea:
- How to use the socket
- How to send the GET
- How to send the Cookie
- How to recieve the data
Any help is welcome !
Martin