Hello.
I have installed PHP4 with Apache (and MySQL) on a two different Win2K machines. Both produce the same (non)-result. One of the machines was a clean install of OS and PHP/Apache onto a formatted drive.
Apache works.
PHP works (echo "hello world"😉.
However, PHP will not pass data from page to page. I tried this simple form:
<?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?>">
DATA ENTRY<input type="Text" name="first"><br>
<input type="Submit" name="submit" value="Enter information">
</form>
<?php
} // end if
?>
Every time it is run and data is submitted, the form is shown with blank data instead of the field's value being returned.
This same code will work on my ISP's web server, displaying the value instead of the empty form after submit.
Does this have to do with permissions?
I have made IUSER_machinename an administrator on a hunch that that is the problem, but it didn't fix the problem.
Thanks in advance,
Chris Adragna
Orlando, FL