View Single Post
  #8 (permalink)  
Old 12-07-03, 10:11 AM
darkcarnival's Avatar
darkcarnival darkcarnival is offline
PHP/MySQL coder
 
Join Date: Jun 2003
Posts: 939
Thanks: 0
Thanked 0 Times in 0 Posts
hmm well then i know a quick code in php that might help:

PHP Code:

<?

$password 
"whatever";

if (
$password == "$password"){

header("Location: http://mysite.com/secret.php");
}
else{
echo 
"sorry wrong pasword, please try again";
}
?>
try that i think that will work

Last edited by darkcarnival; 12-07-03 at 10:17 AM.
Reply With Quote