note 25610 deleted from language.operators.comparison by sniper

From: Date: Mon, 13 Oct 2003 00:17:18 +0000
Subject: note 25610 deleted from language.operators.comparison by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58437@lists.php.net to get a copy of this message
Note Submitter: tim@pollenation.net ---- When register_globals is turned off (as it always should be) a good way to check for request variables is to use the isset function with the ternary operator. $var = ( isset($_REQUEST['var']) ? $_REQUEST['var'] : '' ) I've used this extensivley on http://www.pollenation.net and in combination with the smarty template system and apache rewrite, handles all of the navigation (directories are turned into request variables which are then checked for in the application routine).

« previous php.notes (#58437) next »