My html file contains:
<form action="http://localhost/genealogy/testitem.php" method=post>
<input type="text" name="mysubmission" size ="10" maxlength="3">
<input type="submit" value="Submit">
</form>
My php file contains:
<html>
<head>
<title>MyPage</title>
</head>
<body>
<h1>MyPage</h1>
<?php
// create short variable names
$mytitle=$HTTP_POST_VARS['mysubmission'];
echo $mytitle.'is my title';
?>
</body>
</html>
When I click the Submit button, the php page comes up with MyPage at the top and a line "is my title" on the second line, but there are no values passed to $mytitle.
It works fine if I ftp it to HostMonster. Is there a configuration setting that I need to change?
Thanks in advance for any help.
Ron Dahl