On Tuesday, February 12, 2002, at 04:26 PM, Lars Torben Wilson wrote:
> echo basename($_SERVER['PHP_SELF']); > > http://www.php.net/basename > Thank you Torben. Reading through the annotations on this manual entry, it looks like I'd be safer using the home-built function after all! Well, not really. But it seems that the optional 2nd parameter corrupts the 1st parameter even if it is a predefined variable (which is what I'm doing) -- which could have repercussions for $_SERVER['PHP_SELF'] down the road, right? Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php