Re: [PHP] Getting full HTTP request the page was requested with?

2002-12-15 Thread Chris Shiflett
--- Leif K-Brooks <[EMAIL PROTECTED]> wrote: > Thanks, but I'm trying to see what the client sent to > get my page, not what a host returns when I send it > a request... :-) I think he misunderstood your question or something. There are a few different ways to do what you want to do. First, if

Re: [PHP] Getting full HTTP request the page was requested with?

2002-12-15 Thread Leif K-Brooks
fgets($sockhandle, 1024); //Set-Cookie $res .= "$line\n"; $line = fgets($sockhandle, 1024); //End Header "space" $res .= "$line\n"; $res = addslashes($res); return $res; - Original Message - From: "Leif K-Brooks" <[EMAIL PROTECTED]> To: <[EMAIL

Re: [PHP] Getting full HTTP request the page was requested with?

2002-12-15 Thread Hatem Ben
$line\n"; $res = addslashes($res); return $res; - Original Message - From: "Leif K-Brooks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 15, 2002 4:54 PM Subject: [PHP] Getting full HTTP request the page was requested with? > Is the

[PHP] Getting full HTTP request the page was requested with?

2002-12-15 Thread Leif K-Brooks
Is there a way to find out exactly what HTTP request was made for a page? Something like: GET http://myserver.com/whatever.php HTTP/1.1 Host: myserver.com -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent o