This actually does the same thing. I tried to print the variables to the screen and that also fails so evidently the variables are not being passed to the php script for some reason.
This code shows the form but does not pass the variables to the screen.
<body>
<?php
if ($submit) {
// process form
while (list($name, $value) = each($HTTP_POST_VARS)) {
echo "$name = $value<br>\n";
}
} else{
// display form
?>
<form method="post" action="<?php echo $PHP_SELF?>">
First name:<input type="Text" name="first"><br>
Last name:<input type="Text" name="last"><br>
Address:<input type="Text" name="address"><br>
Position:<input type="Text" name="position"><br>
<input type="Submit" name="submit" value="Enter information">
</form>
<?php
} // end if
?>
</body>
Is there a possibility that I have something set up incorrectly in the ini files.
Thanks for any help.
Callen