php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5380 $PHP_SELF concatenated to 17 chars
Submitted: 2000-07-05 16:34 UTC Modified: 2001-01-09 05:19 UTC
From: wjp at easyart dot com Assigned:
Status: Closed Package: Other web server
PHP Version: 4.0.1pl2 OS: Linux RedHat 6.2
Private report: No CVE-ID: None
 [2000-07-05 16:34 UTC] wjp at easyart dot com
PHP Version 4.0.1pl2 installed on Linux RedHat with Zeus 3.3.6. 
I have a phpinfo() page:
<?
phpinfo();
?>

It shows
HTTP_SERVER_VARS["PHP_SELF"] /ToolMonkey/warwi

When it actual fact its more like:
/ToolMonkey/warwick/tests/phpinfo.php

Elsewhere I have scripts that need to use $PHP_SELF and this variable has been concatenated to being only 17 chars long. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-06 20:55 UTC] joey at cvs dot php dot net
This should read "$PHP_SELF truncated at 17 chars"
 [2000-07-27 21:09 UTC] waldschrott@php.net
checking out
 [2000-08-25 13:56 UTC] sniper@php.net
I can not reproduce this with latest CVS.
Please try CVS or snaps.php.net and if problem
still exists reopen this report.

--Jani
 [2000-09-28 16:34 UTC] sniper@php.net
Reopened per user request.  One note: This bug is most likely in the 
ISAPI module (Zeus).

There is phpinfo()  here :

http://www.theteachernet.co.uk/ack/phpCards13/test.php

--Jani

 [2000-09-28 16:35 UTC] sniper@php.net
And now this is really opened..

--Jani
 [2000-11-03 20:13 UTC] sniper@php.net
reclassify
 [2000-12-21 08:52 UTC] sniper@php.net
Does this problem still exist? By checking the
phpinfo() output from that url seems like it is fixed
somehow?

--Jani 
 [2001-01-09 05:19 UTC] sniper@php.net
User reported fixed.

--Jani
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Aug 07 13:01:24 2020 UTC