note 22288 deleted from function.getallheaders by didou

From: Date: Wed, 01 Oct 2003 13:11:46 +0000
Subject: note 22288 deleted from function.getallheaders by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57532@lists.php.net to get a copy of this message
Note Submitter: smclean@scoreinfo.tv ---- Ignore comments which seem to say this function is useless because all the headers are available as environment variables, this is untrue. This function gives you access to the raw headers as opposed to only the headers Apache has parsed and put into its environment for cgi scripts. A good example of this is the X-Forwarder-For header. This header contains the IP address of a client using a proxy and is very useful for tracking proxy users' by their IP (What normally would be $REMOTE_ADDR .. Proxies disrupt the normal behavoir of REMOTE_ADDR since they are the servers making the connections).

« previous php.notes (#57532) next »