note 40941 deleted from reserved.variables by tomsommer

From: Date: Sat, 27 Nov 2004 22:48:11 +0000
Subject: note 40941 deleted from reserved.variables by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-81105@lists.php.net to get a copy of this message
Note Submitter: chris at interspire dot com ---- This is the easiest way to get a $_SERVER['REQUEST_URI'] when it's not available: <?php if (!isset($_SERVER['REQUEST_URI'])) { $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']; } ?>

« previous php.notes (#81105) next »