Bug #17755 Updated: $PHP_SELF IE5.5 vs Opera6.03
| From: | ad at premiere-host dot com | Date: | Tue, 18 Jun 2002 07:57:28 +0000 |
| Subject: | Bug #17755 Updated: $PHP_SELF IE5.5 vs Opera6.03 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11035@lists.php.net to get a copy of this message | ||
ID: 17755
Updated by: ad@premiere-host.com
Reported By: ad@premiere-host.com
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: Windows98
PHP Version: 4.2.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-06-14 15:58:37] sniper@php.net
Could you try using that instead? e.g $_SERVER['PHP_SELF']
instead of $PHP_SELF as that is the preferred way to access
these. Also, are you sure the page is not cached by IE?
as if this is server side issue if any, not browser..
(same cache thing goes for Opera too)
Try flushing the caches on both browsers.
------------------------------------------------------------------------
[2002-06-14 15:33:39] ad@premiere-host.com
Yes, I see _SERVER["PHP_SELF"] and it is correct
------------------------------------------------------------------------
[2002-06-14 15:14:47] sniper@php.net
Do you see the _SERVER["PHP_SELF"] in phpinfo() output?
(should be in the last part of it)
--Jani
------------------------------------------------------------------------
[2002-06-14 09:27:39] ad@premiere-host.com
OOPS - phpinfo() reports register globals ON for both master and local
values
------------------------------------------------------------------------
[2002-06-14 09:26:31] ad@premiere-host.com
My phpinfo() reports both for local and master values.
------------------------------------------------------------------------
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