have you got register_globals turned on or off? Martin
> -----Original Message----- > From: Bryan Bateman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 9 March 2004 12:25 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Why is this happening > > > This does not work: > require('languages/' . $language . '/' . basename($PHP_SELF)); > > This does: > require('languages/' . $language . '/' . > basename($_SERVER['PHP_SELF']); > > > Why???????? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php