Wednesday 12 December 2018

HOW TO DISABLE PHP EXECUTION TO SECURE YOUR UPLOAD FILE DIRECTORY

To disable PHP execution, you add 5 lines of code to the .htaccess file on your web server. 

RewriteEngine On
<Files *.php>
Order allow,deny
Deny from all

</Files>

No comments:

Post a Comment