#838826 by sudhirporwal, hunmonk: ereg deprecated in PHP 5.3, remove from password checking function.