Jump to content

[SOLVED] srtlen problem


shadiadiph

Recommended Posts

I am trying to validate a password but it keeps giving me the error Fatal error: Function name must be a string in /home/buyandse/public_html/signup.php on line 86

 

if ($password=="")
{
$error.="4|";
}
elseif (preg_match($reguser, $password) ==false) 
{ 
$error.="5|";
}
if ($strlen($password)<6)
{
$error.="6|";
}

 

problem seems to be with the strlen part as if i remove it the page works??

Link to comment
https://forums.phpfreaks.com/topic/153985-solved-srtlen-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.