php-windows | 2001051

Re: [PHP-WIN] Netscape and $PHP_SELF? From: Chris Boothe (chris <email protected>)
Date: 05/08/01

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
chris <email protected>
----- Original Message -----
From: "Mike Flynn" <mike <email protected>>
To: "Chris Boothe" <chris <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
> >chris <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 -=-
> mike <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: php-windows-unsubscribe <email protected>
For additional commands, e-mail: php-windows-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>