Yep, I remembered about the suite of $PHP_ variables after I sent the email.
Seems like I invariably (arf) remember something AFTER I request help. I think my brain must be wired that way... I'm still wondering where on earth that $URL variable came from, because I sure didn't make it up. I never capitalize my own variables... On Wednesday 12 February 2003 02:42 pm, Benjamin Pflugmann wrote: > 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. -- A. Contreras My C&R webpages: http://www.elnonio.dns04.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com