webref.eu Posted August 3, 2008 Share Posted August 3, 2008 If so, how? Have you guys now started to code with magic quotes permanently switched off? Thanks All. Link to comment https://forums.phpfreaks.com/topic/117949-can-you-switch-off-magic-quotes-on-a-page-level/ Share on other sites More sharing options...
PHPTOM Posted August 3, 2008 Share Posted August 3, 2008 Nope you can't. http://usphp.com/manual/en/security.magicquotes.disabling.php ---------------- Now playing: Linkin Park - Carousel Demo via FoxyTunes Link to comment https://forums.phpfreaks.com/topic/117949-can-you-switch-off-magic-quotes-on-a-page-level/#findComment-606717 Share on other sites More sharing options...
PFMaBiSmAd Posted August 3, 2008 Share Posted August 3, 2008 All of the php.ini settings are documented in the php manual. It lists where they can be modified, such as PHP_INI_USER: Entry can be set in user scripts or in Windows registry PHP_INI_PERDIR: Entry can be set in php.ini, .htaccess or httpd.conf PHP_INI_SYSTEM: Entry can be set in php.ini or httpd.conf PHP_INI_ALL: Entry can be set anywhere For the specific setting you are asking about (magic_quotes_gpc or magic_quotes_runtime - one cannot be turned off in your script and one can be) you can find the answer to your question in the php manual. Sorry to be vague with the answer, but you did not state which setting you are asking about. You need to check the php manual for basic information like this before asking in a forum. Link to comment https://forums.phpfreaks.com/topic/117949-can-you-switch-off-magic-quotes-on-a-page-level/#findComment-606719 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.