note 23417 deleted from reserved.variables by spic

From: Date: Tue, 27 Aug 2002 12:08:40 +0000
Subject: note 23417 deleted from reserved.variables by spic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35723@lists.php.net to get a copy of this message
If you have a query string like index.php?foo=5, then rather than using $_GET["foo"], just use $foo instead. PHP appears to automatically declare variables for all of the query string parameters. Probably works for $_POST too but I haven't tried.

« previous php.notes (#35723) next »