I've experienced this - i think its a 'feature' of Netscape 4.7x which
doesn't seem to exist with Netscape 6 or IE4+. Ensure that you are using
globals.

I think its because IE inserts a 'current path/file' into URLS if only
"?asdadsa" exists as an URL.

Siggy

----- Original Message -----
From: "Chris Boothe" <[EMAIL PROTECTED]>
To: "Mike Flynn" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 1:10 PM
Subject: Re: [PHP-WIN] Netscape and $PHP_SELF?


> I know what you are saying it is a bit odd.
>
> The problem is that
> <a href=\"$HTTP_HOST$PHP_SELF?id=$id&act=v\">$id</a>
>
> is being called within a function and the $HTTP_HOST, etc. seem to be set
to
> null within the function.
>
> Thanks,
>
>
> Chris Boothe
> [EMAIL PROTECTED]
> ----- Original Message -----
> From: "Mike Flynn" <[EMAIL PROTECTED]>
> To: "Chris Boothe" <[EMAIL PROTECTED]>
> Sent: Tuesday, May 08, 2001 6:58 PM
> Subject: Re: [PHP-WIN] Netscape and $PHP_SELF?
>
>
> > $PHP_SELF is on the server side, since PHP is a server-side scripting
> > language.  The user's browser has no bearing on the value $PHP_SELF gets
> > because it is all done on the server before the page even reaches the
> > user.  Try viewing the source in the two different browsers and
confirming
> > that it really is different and doesn't just appear that way from the
> > browser window?
> >
> > -Mike
> >
> > At 11:22 PM 5/7/01 -0400, you wrote:
> > >My script works fine in IE 5.5 however a hyperlink is missing the
script
> > >name when it is displayed in Netscape Navigator 4.77.
> > >
> > >echo "<td align=\"center\"><a
> href=\"$PHP_SELF?id=$id&act=v\">$id</a></td>\n";
> > >
> > >Instead of view.php?id=1&act=v I get ?id=1&act=v
> > >which doesn't work obviously.
> > >
> > >Thanks,
> > >
> > >Chris Boothe
> > >[EMAIL PROTECTED]
> >
> > Today's alienated gem:
> > "Send your favorite mom lots of love and affection, free of shipping
> > charges!" -- Seen on a shopping site
> >
> >                -=- Mike Flynn - Burlington, VT -=-
> > [EMAIL PROTECTED]  http://www.mikeflynn.net/  * Give blood *
> >   Wouldn't the free market, in its true form, be anarchy?
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to