Deprecated: mysql_escape_string()

Status
Not open for further replies.

huynhgia

New Member
Messages
3
Reaction score
0
Points
1
I have 1 problem is my code, when a member is logged in, login good.But not login is error
Code:
Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/xxx/public_html/music/includes/class/_class_mysql.php on line 116

demo :
Code:
huynhgiacomputer.com/music

user : demo
pass : demo123
 
Last edited:

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
mysql_escape_string() is deprecated, it was replaced by mysql_real_escape_string(). And that was replaced by..well, the entire mysql_ library is out of date. You should be using PDO or mysqli.

Also, I'm not 100% sure your site isn't in violation of our Terms of Service.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Also, I'm not 100% sure your site isn't in violation of our Terms of Service.

I can clarify; it most definitely fails to abide by the language restriction, and providing links to illegal downloads of mp3's is also considered Contributory Copyright Infringement under US Law right now.

Closing ticket due to the suspension.
 
Status
Not open for further replies.
Top