RE: [PHP] Open New URL window FINAL ANSWER
| From: | Andrew Prostko | Date: | Thu, 20 Sep 2007 07:33:42 +0000 |
| Subject: | RE: [PHP] Open New URL window FINAL ANSWER | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262269@lists.php.net to get a copy of this message | ||
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");
}
?>