Hey i've had this file called index.php on machine 1, there was no errors showing.. now i am using it on machine 2 and i get this error.
Warning: REG_ECTYPE in /var/www/html/index.php on line 22
is it serious? I dunno what it is.. I tried looking it up on google but found different things about reg_ectype .. i dont think its related to my error.
I treid a search for it on here but still nothing found.
where my line 22 of my code.
Code:
if (!isset($p['password']) || (trim($p['password']) == ""))
$errors[] = "You must enter a password.";
elseif ((strlen($p['password']) < 8) || (ereg('[^[:alum:][:punct:][:space:]]', $p['password'])))
$errors[] = "You did not enter a valid password. Passwords are > 8 characters long and contain only
letters, digits, punctuation and spaces.";
line 22 is the elseif line..