Jump to content

Magic Quotes / mysql_real_escape_string


johnsmith153

Recommended Posts

I have been using mysql_real_escape_string for ages but have come across a site using Magic Quotes

 

Using the modern method I simply use mysql_real_escape_string and htmlspecialchars to ensure all data is posted, added to db and displayed to user.

 

What do I need to do with Magic Quotes enabled (I can't turn them off and do properly)

Link to comment
https://forums.phpfreaks.com/topic/208491-magic-quotes-mysql_real_escape_string/
Share on other sites

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.