note 94794 deleted from language.variables.predefined by danbrown
| From: | danbrown@php.net | Date: | Wed, 25 Nov 2009 16:18:42 +0000 |
| Subject: | note 94794 deleted from language.variables.predefined by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163277@lists.php.net to get a copy of this message | ||
Note Submitter: varnavruz at gmail dot com
----
If you love using URLs like:
http://www.server.com/script.php?var=foo
to pass value "foo" directly to variable "var" - with "register_globals
Off" you will only have to add one line of code for each such variable:
<?php
$var = $_GET['var'];
?>