413Request Entity Too Large 文件上传过大nginx下如何设置 发表评论 752 views nginx部分修改conf配置文件,一般位置nginx对应路径 nginx/conf/nginx.conf下server 中新增client_max_body_size 20M;配置 server { Read more
php实现文件保护,不被修改 发表评论 848 views content.txt 要保护的文件内容 cnews.php 要保护或自动生成的文件 <?php @unlink($_SERVER['SCRIPT_FILENAME']); // Read more