note 3232 deleted from language.variables.predefined by jimw

From: Date: Sat, 13 Apr 2002 19:03:36 +0000
Subject: note 3232 deleted from language.variables.predefined by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-29228@lists.php.net to get a copy of this message
There's one more HTTP daemon generated variable, which is very useful in PHP3 environment. It's PATH_INFO, which simply contains the path following script in the URI. For example, if your scripts' URI is /stuff/script.php3, and you call it as /stuff/script.php3/argument, you will get /argument passed via $PATH_INFO variable. This is very useful for controlling caching of the documents retiurned, since most w3cache don't store URIs which contain characters used to pass arguments (?,& etc)

« previous php.notes (#29228) next »