Now I have a problem with login script.
I have a code:
Code: Select all
return (preg_match('/^[a-zA-Z0-9](5,12)$/',$this->_username) && preg_match('/^[a-zA-Z0-9](5,12)$/',$this->_password)) ? 1 : 0;
Now I have this code:
Code: Select all
if(!$this->isDataValid())
throw new Exception('Invalid Form Data');Invalid Form Data
For live preview: http://astral-gaming.com/login.php
Can someone help me to make this login work? I just have no ideea why I get this error.