note 40895 added to tutorial.forms

From: Date: Thu, 18 Mar 2004 13:12:31 +0000
Subject: note 40895 added to tutorial.forms
Groups: php.notes 
Request: Send a blank email to php-notes+get-67010@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/tutorial.forms.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40895 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40895&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40895&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#67010) next »