Login Register






The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
Thread Rating:
  • 0 Vote(s) - 0 Average


mysql_real_escape_string() filter_list
Author
Message
mysql_real_escape_string() #1
how can a hacker bypass query filters like addslashes() and mysql_real_escape_string() in a POST parameter?
thanks. I'v searched in google to use multibyte character encoding but it seems slashes are still added to the query.
are those filters good enough to protect my site?

Reply

RE: mysql_real_escape_string() #2
You should use PDO or mysqli.


Reply

RE: mysql_real_escape_string() #3
dont use addslashes, only the second one and nothing will happen

Reply







Users browsing this thread: 1 Guest(s)