Thread: L2CP Reborn.
View Single Post
Old 06.01.2007, 11:32   #52
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

My webserver was kinda messed up the past few days couldn't really test anything.

Sorry the original idea behind the "isemailaddress" function thing was just simply like the "antiinjection" function.

remove the
PHP Code:
if (isEmailAddress($email)==FALSE) 
part and add

PHP Code:
$email = isEmailAddress($email); 
so it will look like this:
PHP Code:
...
    
$account = antiinjection($account);
    
$password = antiinjection($password);
    
$password2 = antiinjection($password2);
    
$email = isEmailAddress($email);
    
$question1 = antiinjection($question1);
    
$answer1 = antiinjection($answer1);
    
$question2 = antiinjection($question2);
... 
Or just simply download the new version.
Phantom2005 is offline