RE: [PHP] What is wrong here?
| From: | Ernest E Vogelsinger | Date: | Mon, 25 Nov 2002 02:59:15 +0000 |
| Subject: | RE: [PHP] What is wrong here? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125864@lists.php.net to get a copy of this message | ||
At 03:27 25.11.2002, Cesar Aracena said:
--------------------[snip]--------------------
>what you mean by "snoop the HTTP traffic" but if it has something to do
>with the server, then no I can't...
--------------------[snip]--------------------
Make a
telnet www.mydomain.com 80
and transmit something like this:
-------------------------------
GET /myredirurl.php HTTP/1.0
Host: www.mydomain.url
Accept: */*
-------------------------------
Note the double newline at the end of the request header. Capture the
output and check if it properly returns
HTTP/1.x 302 Moved
Location: blah
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/