i just installed apache-1-3-2-4-win32-x86 and php-4-2-1... and i can't get forms to work
php works fine but not forms, nothing gets sent to the next page when you press submit
test1.php
<form name="form" method="post" action="test2.php">
<input type="text" name="name">
<input type="password" name="Password" value="">
<input type="submit" name="Submit" value="Login">
</form>
test2.php
<?PHP
if($Submit == "Login")
{
print $Submit;
print ('<BR>');
print $name;
print ('<BR>');
print $Password;
}
else
{
print ('didnt work');
}
?>
all i get from test2.php is the didnt work text
i don't think it's something with the code.. are there any variables or other things that i could have to turn on either with php.ini or httpd.conf?
i had apache,php,mysql installed and working before and i didn't get this problum, i reformatted and suddenly i can't get forms or sessions to work.. i've tried reinstalling and searching through the config files to see if there correct and they appear to be...
(i'm using windows ME since that seems to make a big differance)