RE: [PHP] Why is this happening
| From: | Martin Towell | Date: | Tue, 09 Mar 2004 01:32:57 +0000 |
| Subject: | RE: [PHP] Why is this happening | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179851@lists.php.net to get a copy of this message | ||
have you got register_globals turned on or off?
Martin
> -----Original Message-----
> From: Bryan Bateman [mailto:bryanbateman@earthlink.net]
> Sent: Tuesday, 9 March 2004 12:25 PM
> To: php-general@lists.php.net
> 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
>