09-20-2007, 11:41 AM
|
#5 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Well, the mysql_escape_string is a bit unneccessary, due to this:
PHP Code:
public function setName($name) { $name = $this->db->makesafe($name); $this->data['username'] = (string) $name; }
PHP Code:
public function makesafe($string) { $result = mysql_escape_string($string); return $result; }
But I'll try with the the other things you mentioned! :D
|
|
|
|