dudufantastico wrote:in firefox i give the field value when i submit form using the $POST method, but in ie this code not run and the $POST['teste'] (my field name) is empty.
Okay, test with this example script:
<?php
if (!empty($_POST["teste"]))
{
echo 'Input: ' . htmlspecialchars($_POST["teste"]);
}
else
{
echo 'Fill the form!';
}
?>
<form action="<?php echo htmlspecialchars($_SERVER['PHP_SELF']); ?>" method="post">
<input type="text" name="teste" />
<input type="submit" name="submit" value="Submit" />
</form>
You might want to state what version of Windows you are using, as well as the version of Internet Explorer and PHP.