Skip to content

Instantly share code, notes, and snippets.

@ctrl-freak
Created February 20, 2012 08:06
Show Gist options
  • Save ctrl-freak/1868363 to your computer and use it in GitHub Desktop.
Save ctrl-freak/1868363 to your computer and use it in GitHub Desktop.
Automatic Magic Quotes
<?
if(ini_get("magic_quotes_runtime")) $response = stripslashes($response);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment