Posted by mattyfroese@gmail.com on 05/22/06 22:28
The variable $submitm is were you are going wrong.
if you replace it with $_POST['submitm'] then I am pretty sure your
script will execute as expected.
Reason: There is a definition in your php.ini file that is called
'register_globals'. If it is off variables submitted by forms or by the
URL itself (index.php?get=variable) will not be accessabile by using a
simple variable. You will need to first reference the array that they
are in:
$_POST for post variables and,
$_GET for get :)
This is disabled by default (I believe) for security reasons.
Navigation:
[Reply to this message]
|