Kill PHP execution from a files folder


/ Published in: HTML
Save to your folder(s)

. Add the following to the .htaccess file at the root of the directory. This prevents php code from being executed


Copy this code and paste it in your HTML
  1. <Files *.php>
  2. Deny from All
  3. </Files>

Report this snippet


Comments


You need to login to view comments.