note 63959 deleted from reserved.variables by bjori

From: Date: Tue, 04 Apr 2006 18:06:45 +0000
Subject: note 63959 deleted from reserved.variables by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107313@lists.php.net to get a copy of this message
Note Submitter: SpikeDaCruz Reason: bad code ---- Running PHP 4.3 under IIS 5 on Windows XP, there is no $_SERVER['REQUEST_URI'] variable. This seems to fix it: if(!isset($_SERVER['REQUEST_URI'])) { $_SERVER['REQUEST_URI'] = substr($_SERVER['argv'][0], strpos($_SERVER['argv'][0], ';') + 1); }

« previous php.notes (#107313) next »