OOPS, again, elseif isn't what needs to be done.

Ok, here we go.

if $pwd == $real_pwd {
header ("Location: http://therealsite";);
} else {
header ("Location: http://badsite";);
}


-- 
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