Bug #17021 Updated: PHP_SELF Displays nothing
| From: | mfischer@php.net | Date: | Sun, 05 May 2002 21:04:26 +0000 |
| Subject: | Bug #17021 Updated: PHP_SELF Displays nothing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6978@lists.php.net to get a copy of this message | ||
ID: 17021
Updated by: mfischer@php.net
Reported By: dgtech@riverview.net
Status: Open
-Bug Type: PHP options/info functions
+Bug Type: Other web server
Operating System: Windows XP Pro
PHP Version: 4.2.0
New Comment:
Changing category.
Seems to be a Xitami or CGI issue then (sorry I seem to have misread
you were using Xitami).
Previous Comments:
------------------------------------------------------------------------
[2002-05-05 16:52:28] dgtech@riverview.net
The script doesn't show anything. Just says "_SERVER["PHP_SELF"]" in
the first column and nothing in the second column.
See for your self. http://www.dgtechnology.com/server.php
Make sure to keep the www..
Thanks
David
------------------------------------------------------------------------
[2002-05-05 16:39:51] mfischer@php.net
No, echo $PHP_SELF or var_dump(${PHP_SELF) *cannot* display PHP_SELF
unless you disabled php parsing or whatever.
Anyway, what does phpinfo() output say about PHP_SELF, does it show
anywhere up in the page? If so, where (paste the appropriate table
line) ?
And, also double check the register_globals ini setting in your
phpinfo() output. I still think you have it disabled.
------------------------------------------------------------------------
[2002-05-05 16:31:38] dgtech@riverview.net
NOTHING. It doesn't output anything. Stays blank, on a Redhat Linux,
using Apache 1.3 it works. It displays PHP_SELF.
Thanks
David
------------------------------------------------------------------------
[2002-05-05 16:26:12] mfischer@php.net
What's the output of $PHP_SELF ?
------------------------------------------------------------------------
[2002-05-05 16:12:18] dgtech@riverview.net
No, I set it so, register_globals is on.
David
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17021
--
Edit this bug report at http://bugs.php.net/?id=17021&edit=1