On Tue 2003-02-11 at 22:17:38 -0600, [EMAIL PROTECTED] wrote:
> OK, so this is beyond the scope of a Mandrake forum, so forgive me for asking.
> 
> I have transitioned my web server from Win2k to Linux. Everything seems to be 
> working OK except I just noticed a page that is supposed to not show the 
> banner, but does.
> 
> In win2k, the PHP variable $URL was returning the name of the file for the 
> page, and I have a structure to not display when the $URL is a certain set of 
> values.
> 
> php.ini has the global variables option turned on, so that's not the issue.
> 
> Does anyone know if the variable is passed to PHP by the server or if it is 
> strictly a PHP value?
> 
> Was it an IIS varaible that's not in Apache2? Any ideas?

Don't know, but did you try to simply print out the new value and look
in which way it has changed?

Aside from that, does $_SERVER[$PHP_SELF] or what you need? It is the
recommended way to find out about (the local part) of the URL.

HTH,

        Benjamin.

Attachment: msg119261/pgp00000.pgp
Description: PGP signature

Reply via email to