ohdang888 Posted January 16, 2008 Share Posted January 16, 2008 ahhhhh, how do i disable magic quotes in the apache httpd.conf file???? what do i put in the file, and where? also, what are magic quotes? Link to comment https://forums.phpfreaks.com/topic/86361-solved-magic-quotes/ Share on other sites More sharing options...
Daukan Posted January 16, 2008 Share Posted January 16, 2008 In your php.ini file make sure these are set to off. You don't have to anything in the http.conf file ; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off ; Use Sybase-style magic quotes (escape ' with '' instead of \'). magic_quotes_sybase = Off Link to comment https://forums.phpfreaks.com/topic/86361-solved-magic-quotes/#findComment-441279 Share on other sites More sharing options...
ohdang888 Posted January 17, 2008 Author Share Posted January 17, 2008 thanks, but what does magic quotes do? what do you need them for? Link to comment https://forums.phpfreaks.com/topic/86361-solved-magic-quotes/#findComment-441494 Share on other sites More sharing options...
PFMaBiSmAd Posted January 17, 2008 Share Posted January 17, 2008 http://php.net/magic_quotes Thankfully, they have been eliminated in php6. So, you don't need them and you should not write any code that relies on them. Link to comment https://forums.phpfreaks.com/topic/86361-solved-magic-quotes/#findComment-441504 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.