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? Quote 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 Quote 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? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/86361-solved-magic-quotes/#findComment-441504 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.