php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14122 wrong $PHP_SELF value when executing script with params
Submitted: 2001-11-19 14:48 UTC Modified: 2002-06-18 18:58 UTC
From: techtonik at tut dot by Assigned:
Status: Closed Package: Variables related
PHP Version: 4.0.6 OS: Windows 98 Apache 1.3.22
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: techtonik at tut dot by
New email:
PHP Version: OS:

 

 [2001-11-19 14:48 UTC] techtonik at tut dot by
* script index.php located alone in 'directory/site/'
When calling it like 'http://server/directory/site/index/index' variable
$SCRIPT_NAME = $PHP_SELF = $HTTP_SERVER_VARS["SCRIPT_NAME"] = $HTTP_SERVER_VARS["PHP_SELF"] = '/directory/site/index/index.php' instead of '/directory/site/index.php' 

* standart version 4.06 php4apache.dll & php4ts.dll
Build Date Jun 22 2001 running in safe mode.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-24 10:09 UTC] sander@php.net
Dupe of 13606
 [2002-06-18 18:58 UTC] sniper@php.net
See bug #13606

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 00:01:29 2025 UTC