Bug #17021 Updated: PHP_SELF Displays nothing
| From: | dgtech at riverview dot net | Date: | Sun, 05 May 2002 20:12:19 +0000 |
| Subject: | Bug #17021 Updated: PHP_SELF Displays nothing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6973@lists.php.net to get a copy of this message | ||
ID: 17021
Updated by: dgtech@riverview.net
Reported By: dgtech@riverview.net
-Status: Bogus
+Status: Open
Bug Type: PHP options/info functions
Operating System: Windows XP Pro
PHP Version: 4.2.0
New Comment:
No, I set it so, register_globals is on.
David
Previous Comments:
------------------------------------------------------------------------
[2002-05-05 16:06:33] mfischer@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
be off. See http://www.php.net/release_4_2_0.php
for more info.
------------------------------------------------------------------------
[2002-05-05 15:54:31] dgtech@riverview.net
I am on an Xitami Server V2.4d9 running Windows XP PRO with PHP
Version 4.20. I am a script called PHPAdsNew and it uses the <?php echo
basename($PHP_SELF);?> PHP command to get the name of the file so, it
can submit forms.
Example: <form action="<?php echo basename($PHP_SELF);?>">
But, it will not work.. It stays EMPTY. PHP will not write the name of
the file.
It would be way to hard to change the script around with over 80 files,
no way!
Thanks
David
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17021&edit=1