I'm still new to php, just wanted to check to make sure this will work ok.
Thanks

<form method="POST" action="<?php print("$PHP_SELF"); ?>">
First Name: <input type=TEXT name="FirstName" size=15><p>
Last Name: <input type=TEXT name="LastName" size=25><p>
E-mail Address: <input type=TEXT name="Email" size=25><p>
<input type=SUBMIT> <input type=RESET>
</form>

<?php
if(!IsSet($FirstName, $LastName, $Email))
 {
 header("Location: http://www.SITE.com/error.php");
 exit;
 }
else
 {
 header("Location:
http://www.SITE.com/thanks.php");
 exit;
 }
?>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to