I have RH9 Linux with the versions of Apache and PHP that came with
it. The PHP is version 4.2.2 on the CD, I believe. Apache, I think, is
version 2.0.
I found I can do some regular PHP stuff like pull data back from MySQL
and show it, but posting form data from one web form to another web
page simply doesn't work for some reason. Has anyone seen this?
Example:
## INDEX.PHP ##
<html><head></head><body>
<form action="process .php" method="post">
<input type="text" name="username" >
<input type="submit" value="Test">
</form>
</body></html>
## PROCESS.PHP ##
<?php
echo "You entered your username as $username.";
?>
The result I get is:
You entered your username as.
What's the catch?
it. The PHP is version 4.2.2 on the CD, I believe. Apache, I think, is
version 2.0.
I found I can do some regular PHP stuff like pull data back from MySQL
and show it, but posting form data from one web form to another web
page simply doesn't work for some reason. Has anyone seen this?
Example:
## INDEX.PHP ##
<html><head></head><body>
<form action="process .php" method="post">
<input type="text" name="username" >
<input type="submit" value="Test">
</form>
</body></html>
## PROCESS.PHP ##
<?php
echo "You entered your username as $username.";
?>
The result I get is:
You entered your username as.
What's the catch?
Comment