Project

General

Profile

« Previous | Next » 

Revision 40

Added by stefan about 19 years ago

Change addslashes,stripslashes to (wb class) method calls add_slashes,strip_slashes

View differences:

signup2.php
75 75
}
76 76

  
77 77
// Check if the email already exists
78
$results = $database->query("SELECT user_id FROM ".TABLE_PREFIX."users WHERE email = '".addslashes($_POST['email'])."'");
78
$results = $database->query("SELECT user_id FROM ".TABLE_PREFIX."users WHERE email = '".$this->add_slashes($_POST['email'])."'");
79 79
if($results->numRows() > 0) {
80 80
	if(isset($MESSAGE['USERS']['EMAIL_TAKEN'])) {
81 81
		$admin->print_error($MESSAGE['USERS']['EMAIL_TAKEN'], $js_back);

Also available in: Unified diff