Skip to content

Instantly share code, notes, and snippets.

@alex-gist
Created March 22, 2012 16:30
Show Gist options
  • Save alex-gist/2159389 to your computer and use it in GitHub Desktop.
Save alex-gist/2159389 to your computer and use it in GitHub Desktop.
HTACCESS: PHP Security
#HTACCESS Secure PHP Setting#
#############################
# Disable register globals
php_flag register_globals 0
# Disable magic quotes
php_flag magic_quotes_gpc 0
php_flag magic_quotes_runtime 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment