note 40895 deleted from tutorial.forms by betz
| From: | betz@php.net | Date: | Sat, 01 May 2004 19:52:07 +0000 |
| Subject: | note 40895 deleted from tutorial.forms by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-69090@lists.php.net to get a copy of this message | ||
Note Submitter: ravikanth@writeme.com
----
In the above examples, it is also possible to use $name as the variable name intead of
$_POST['name'].
But this method of accessing variables has a problem if your web hosting company has turned off
register_globals.
With this setting to OFF, PHP returns an empty value.
So, using $_POST['variable'] is the best option.
But nothing works if the web host puts off track_vars option also in the php.ini file.