Re: Register Globals=ON
| From: | Greg Donald | Date: | Mon, 03 Jan 2005 13:34:58 +0000 |
| Subject: | Re: Register Globals=ON | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205514@lists.php.net to get a copy of this message | ||
On Mon, 3 Jan 2005 22:21:48 +1100, HarryG <harry1980@gmail.com> wrote:
> Which process is better to use in PHP?
>
> Having register_globals=on and referring to variables as if($name){} or
> using $_GET & $_POST statements like if(isset($_GET['name']))?
>
> What is the main advantage/disadvantage in both cases.
It's all right there in the fine manual:
http://us2.php.net/register_globals
--
Greg Donald
Zend Certified Engineer
http://destiney.com/