Re: standart variabels melfunction
| From: | Ignatius Reilly | Date: | Wed, 20 Nov 2002 06:43:03 +0000 |
| Subject: | Re: standart variabels melfunction | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23508@lists.php.net to get a copy of this message | ||
Martin,
what you are experiencing is the normal way to call form variables. There is
no problem.
You should use
register_globals=Off
whenever possible. better security.
Ignatius
____________________________________________
----- Original Message -----
From: "Beau Lebens" <B.Lebens@curtin.edu.au>
To: "'Martin Allan Jensen'" <bailey@sprit.dk>;
<php-db@lists.php.net>
Sent: Wednesday, November 20, 2002 5:46 AM
Subject: RE: [PHP-DB] standart variabels melfunction
> [php.ini]
> register_globals=On
>
> Beau
>
> // -----Original Message-----
> // From: Martin Allan Jensen [mailto:bailey@sprit.dk]
> // Sent: Wednesday, 20 November 2002 12:41 PM
> // To: php-db@lists.php.net
> // Subject: [PHP-DB] standart variabels melfunction
> //
> //
> // Hi all,
> //
> // I have a problem with my settings of Apache and PHP i think..
> //
> // When i call for example ($PHP_SELF) instead of
> // ($_SERVER[PHP_SELF]) i get no output, just like when i call the url
> // www.servername.tld/test.php?mode=test
> // And i want to call the mode like this:
> // print($mode);
> // I just get a empty string.
> // But when i call:
> // print($_GET[mode]);
> // I get the real output...
> //
> // I tried to walk troug the hole php.ini & the httpd.conf
> // file, but nothing came up, so i relly hope that you can help
> // me out here...!
> //
> // Sorry if it's a little off topic..
> //
> // And THANKS A LOT!!
> //
> // Regards
> // Martin Allan Jensen
> //
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>