#24981 [Bgs]: Global Variables
| From: | ctimm at primetimetech dot com | Date: | Fri, 08 Aug 2003 09:17:13 +0000 |
| Subject: | #24981 [Bgs]: Global Variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45560@lists.php.net to get a copy of this message | ||
ID: 24981
User updated by: ctimm at primetimetech dot com
Reported By: ctimm at primetimetech dot com
Status: Bogus
Bug Type: CGI related
Operating System: Windows XP
PHP Version: 4.3.2
New Comment:
I am running a script from Sourceforge. When The global variables are
set to $Script_Name and you login , the page gets redirected to
/php/php.exe and not what it should be. If I change them to $PHP_SELF
then they get redirected to the right place. I would say that sounds
like a bug...
Previous Comments:
------------------------------------------------------------------------
[2003-08-08 03:52:39] sniper@php.net
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.
..
------------------------------------------------------------------------
[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