Jump to content

Should magic_quotes_gpc be on ?


floridaflatlander

Recommended Posts

I built something on my local host and when I loaded it to my online provider I started to get back slashes in front of my single quotes on data I placed in the database, example word\'s

 

The provider is running 5.2.9 on their server, I checked and magic_quotes_gpc is on, I thought this was old school.

 

Can I turn if off ? I clean by data with strip_tags() & mysqli_real_escape_string()

 

I found this  http://php.net/manual/en/security.magicquotes.php

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/249773-should-magic_quotes_gpc-be-on/
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.