[align=center]Original POST[/align] http://forum.egypt.com/enforum/php-f...-0-a-6284.html Please for security put any folder you wanted to be chmode 777 inside another folder and type this in .htaccess file to avoid any php file to run inside this folder and others folder in that root
Note this must be in .htaccess file inside the folder that hold chmode 777 folder and please dont upload it to your site root this will shutdown all php then if you have any php file will not be able to run.
( this is for linux )
PHP Code:
php_flag engine off RemoveType .php .php3 .phtml .pl .cgi.html.htm.asp.aspx
this will turn off
the php engen inside this folder also will remove the following extensions
Code:
.php .php3 .phtml .pl .cgi.html.htm.asp.aspx
also you can add any extension to it avoid it.