PHP 上傳檔案, 利用 httpd.conf 限制執行 php script 設定方式

Published on 08/28,2005

限制 user 傳上的檔案具有執行功能,可以在 httpd.conf 中加入設定,例:

<directory>
php_flag engine off
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</directory>


Comments

Leave a Reply

 authimage