php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24981 Global Variables
Submitted: 2003-08-08 03:26 UTC Modified: 2003-08-08 04:17 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ctimm at primetimetech dot com Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.3.2 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ctimm at primetimetech dot com
New email:
PHP Version: OS:

 

 [2003-08-08 03:26 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-08 03:52 UTC] 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 04:17 UTC] ctimm at primetimetech dot com
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...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC