Jump to content

is mysql_real_escape_string secure enough against attacks?


greenheart

Recommended Posts

Hello I am a php noobie and have a website I have designed all by myself.  :D

 

I'm adding a user login form in the corner of the page and the ability for logged in users to comment on my articles. I am using mysql_real_escape_string to prevent against sql injection attacks (have to load database records for user data and comment data) but is this sufficient/still the standard? I have heard of attacks that can get around this command, using other special characters I guess.

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.