Re: Netscape not resolving $PHPSELF ??
| From: | Jason Stechschulte | Date: | Tue, 13 Feb 2001 18:57:39 +0000 |
| Subject: | Re: Netscape not resolving $PHPSELF ?? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39466@lists.php.net to get a copy of this message | ||
> Thanks that fixed it. I didn't realize there were two version of this
> variable. Why? Hmm, strange that the other one worked fine with IE but not
> Netscape. I thought all thi was done server side, so what the heck does the
> browser have to do with it?
As far as I know, $PHP_SELF is the variable and NOT $PHPSELF. It works
in IE because if no page is printed in the tag, it just reloads the same
page anyway. If you look at your html source while using $PHPSELF, you
will probably see something like this:
<a href=>This is the link</a>
Netscape realizes this is invalid html and complains, IE simply reloads
the current page.
--
Jason Stechschulte
jpstech@unoh.edu
--
But you have to allow a little for the desire to evangelize when you
think you have good news.
-- Larry Wall in <1992Aug26.184221.29627@netlabs.com>