摘要:
download.php js 阅读全文
摘要:
1 <?php 2 set_time_limit(0); //大文件在读取内容未结束时会被超时处理,导致下载文件不全。 3 4 $fpath = 'book.zip'; 5 $file_pathinfo = pathinfo($fpath); 6 $file_name = $file_pathinfo['basename']; 7 $file_extension... 阅读全文
摘要:
#!/bin/bash #set env export PATH=$PATH:/bin:/sbin:/usr/sbin # Require root to run this script. if [ "$UID" != "0" ]; then echo "Please run this script by root." exit 1 fi #define cmd var S... 阅读全文