HTTP Request Headers - PUHLEASE HELP!

From: Date: Mon, 25 Feb 2002 00:40:29 +0000
Subject: HTTP Request Headers - PUHLEASE HELP!
Groups: php.general 
Request: Send a blank email to php-general+get-86042@lists.php.net to get a copy of this message
I have an infinitely annoying problem. I coded a script which tracks who viewed my profile in AOL Instant Messenger. When they click on a link (AIM inserts their screen name into the URL) the script records it. However, it does not replace spaces in their screen name with %20 like a normal browser would. IIS hates this and just returns bad request. Apache handles it a bit more gracefully, but everything after the space is lost. When I went to phpinfo() however, it displayed the GET header (GET blah.php?blah=wow wow HTTP/1.1). How can my script access the GET header? getallheaders() returns the headers but it excludes the GET line. Thankyou for your help!

« previous php.general (#86042) next »