#24981 [Opn->Bgs]: Global Variables

From: Date: Fri, 08 Aug 2003 08:52:40 +0000
Subject: #24981 [Opn->Bgs]: Global Variables
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45559@lists.php.net to get a copy of this message
ID: 24981 Updated by: sniper@php.net Reported By: ctimm at primetimetech dot com -Status: Open +Status: Bogus Bug Type: CGI related Operating System: Windows XP PHP Version: 4.3.2 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. .. Previous Comments: ------------------------------------------------------------------------ [2003-08-08 03:26:46] ctimm at primetimetech dot com Description: ------------ In CGI mode, the global variables $SCRIPT_NAME and $_SERVER['SCRIPT_NAME'] are /php/php.exe and not what they should be. I am using Version 4.3.2 on Windows Xp platform (This is the CGI version) Reproduce code: --------------- Replaced All occurences of $SCRIPT_NAME in the PHP files with $PHP_SELF and that has worked ok ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24981&edit=1

« previous php.bugs (#45559) next »