he is the code i've got so far:
PHP:
<?php
$password = "test";
$pass= $_POST["pass"];
$checkpassword = strpos ($password, $pass);
if ($checkpassword === TRUE) {
echo "correct password"; }
else {
}
?>
it says wrong password when i run it..(btw just wrote 'correct password' there now just to chck but if correct i want it to go to another page, not to sure how to do that yet)
so basically i want it to check both password and user and if correct redirect to another page
thanks again!
Edited by gwopboi, 27 March 2010 - 07:42 AM.