RE: [PHP] Open New URL window FINAL ANSWER
Wow, it really must be late, Thank you for pointing out that missing
parenthesis
.... 330am and now I can go to bed happy... TY VM
Ending Code for anyone listening:
Get PW from another .php page using:
<form action="passwordcheck.php" method="post">
<br />
What is the Password?: <input type="text" name="pw" />
<input type="submit" value="Submit!"/>
</form>
This is the passwordcheck.php code:
<?php
if ($_POST['pw'] != burgers)
{
header("Location: password.php");
}
else
{
header("Location: sept-coupon07.html");
}
?>
|