> <?php > print_r($HTTP_POST_VARS); > print_r($HTTP_GET_VARS); > ?> > <form method="post" action=http://localhost.localdomain/test?action=test> > <input type="text" name="type" size="30" maxlength="30"> > <input type="submit" name="Submit" value="Submit">
> When I submit this form I can get the value of the variable contained in > $HTTP_GET_VARS : Array ( [action] => test ) but not the one contained in > $HTTP_POST_VARS : Array ( ). Did you fill input text? I do not remember exactly which version of PHP changed POST and GET variables , but you chould use $_POST AFAIR. Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
