simple password
Posted: Thu Jun 19, 2003 3:50 pm
Using a form to submit a global password. When the password is entered it goes to cv.php with the following code
if the password is correct it should open cv.html, but it
does not seem to work, it just goes back to index.htm
can anyone help plz
Code: Select all
<?php
if ( ! $password == 'in')
{ header("location:cv.html") ; exit();}
else {
header("Location: index.htm"); }
?>does not seem to work, it just goes back to index.htm
can anyone help plz