Re: standart variabels melfunction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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:  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
>
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux