Hello;
I just bought a domain name and hosting from GoDaddy. The form variables on the form "test1.html" are not passing to the "test2.php" page.
The domain name was pointed to the GoDaddy parked servers until today. I just changed them to the permanent domain name servers this morning. It takes a couuple of days for the domain name to propagate.
Below is the exact code:
// test1.html
<html>
<head>
<title>test: UserName eregi</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body
{
margin-top: 150px;
margin-left: 250px;
background-color: #FFFFFF;
}
</style>
</head>
<body>
<form action="http://www.crer.biz/test2.php" method="post">
<input type="text" name="UserName" maxlength="15" size="25">
<input type="checkbox" name="checkbox" value="CheckBox">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
// test2.php
// The $UserName and the $checkbox variables are not echoing on this page.
<?php
echo $UserName." - the username should be here<br>";
echo $checkbox." - the check box value should be here<br>";
?>
Can anybody tell me is there a problemn with my code or is the problem due to the propagation period?
Thanks.