#17755 [Fbk->Bgs]: $PHP_SELF IE5.5 vs Opera6.03

From: Date: Wed, 11 Sep 2002 16:19:56 +0000
Subject: #17755 [Fbk->Bgs]: $PHP_SELF IE5.5 vs Opera6.03
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19113@lists.php.net to get a copy of this message
ID: 17755 Updated by: sniper@php.net Reported By: ad@premiere-host.com -Status: Feedback +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows98 PHP Version: 4.2.1 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2002-06-20 04:25:26] derick@php.net Can you please try the latest apache too? Derick ------------------------------------------------------------------------ [2002-06-20 04:17:34] ad@premiere-host.com The PHP problem arises when running Apache 1.3.14 (Win32) as localhost but only when the browser on the is Opera. They are both on the same computer - ie I have not tried on two machines on a local network. But using Apache 1.3.20 on my remote server it performed OK under Opera on my machine. ------------------------------------------------------------------------ [2002-06-18 15:50:52] sniper@php.net Under which webserver are you running PHP when it doesn't work?? ------------------------------------------------------------------------ [2002-06-18 04:01:13] ad@premiere-host.com The remote server is Apache under RedHat. And the files work correctly with IE5.5, Opera, Netscape on my Win98 machine. ------------------------------------------------------------------------ [2002-06-18 03:57:27] ad@premiere-host.com I have tried flushing the caches and that has no effect. I also tried $_SERVER[..] with no luck. I also loaded the files to my remote (Apache) server where it performs correctly. So, I deduce, that it is the localhost configuration of Opera and Win98 that produces this problem and it is not truly a PHP problem. I have demonstrated that 1. Opera under Windows sees phpinfo() and within that $PHP_SELF correctly. register_globals is ON. 2. In the code under consideration, URL's can be generated by the PHP and are correctly presented in the output HTML. Only $PHP_SELF is ignored. It is not ignored in this code under IE5.5. That said, it seems that there are two possibilities both of which seem pretty bizarre. 1. Some aspect of my code under Opera inhibits the action of $PHP_SELF replacement. But other globals and other variables are replaced ok. 2. Opera is somehow snipping out the link - but how would it know that the link is created by $PHP_SELF, if the same link is created in other ways it remains in place. Opera say they are working on it, but next week. ------------------------------------------------------------------------ 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/17755 -- Edit this bug report at http://bugs.php.net/?id=17755&edit=1

« previous php.bugs (#19113) next »