note 40941 added to reserved.variables

From: Date: Wed, 24 Mar 2004 00:28:08 +0000
Subject: note 40941 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-67082@lists.php.net to get a copy of this message
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']; } ?> ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40941 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40941&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40941&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#67082) next »