Test if Magic Quotes are Turned On

The key to turning them off is using a php.ini file.
But the php.ini file must be put in each directory where it is needed.

Uses this function to see if they are turned on:
if(get_magic_quotes_gpc()) {
	echo "Magic quotes are enabled";
} else {
	echo "Magic quotes are disabled";
}
Answer here =>
Deprecated: Function get_magic_quotes_gpc() is deprecated in /homepages/7/d241471390/htdocs/balestris/dev/test_magic_quotes.php on line 25
Magic quotes are disabled

Return to Test Directory Home Page