linux 查看网段内所有IP
方法一: 如果没有下载nmap , 需要先下载nmap 软件 [crayon-681112db1b3… 继续阅读 linux 查看网段内所有IP
方法一: 如果没有下载nmap , 需要先下载nmap 软件 [crayon-681112db1b3… 继续阅读 linux 查看网段内所有IP
下载Word文件
1 2 3 4 5 6 7 8 9 |
$file = "文件名称.doc"; // $file_name=basename($file); //如果文件名称中没有中文的话 可以用这个 $file_name=iconv('utf-8','gb2312',"$file"); //如果文件名称中有中文的话 可以用这个 header('Content-type: application/msword'); //header("Content-Type: application/mspdf"); header("Content-Disposition: attachment; filename=$file_name"); header("Pragma: no-cache"); header("Expires: 0"); readfile($file); |
下载Zip文件 … 继续阅读 PHP通过header下载不同类型文件的设置
首先需要确定是否打开了错误来报告,方法有两个: 1.可以查看PHP配置文件,看是否打开错误报告: [… 继续阅读 PHP开启错误提示
情景: 有两台服务器,A服务器可以访问外网也可以访问B服务器, B服务器只可以访问A服务器(不可以访… 继续阅读 使用网络代理实现上网
Ubuntu安装ifconfig工具 [crayon-681112db1be09439006245/… 继续阅读 Ubuntu安装ifconfig工具
test.html
1 |
<a href="javascript:void(0)" οnmοuseοver="testAsync()"> |
asy.js … 继续阅读 Ajax请求中的async:false/true的作用
报错提示: PHP Fatal error: Maximum execution time of 3… 继续阅读 debian修改PHP因为执行时间太长,报500错误
1 2 3 4 5 6 7 8 9 10 |
1. 查看时间 date; 2. 查看硬件时间 hwclock 3. 修改时间 date -s “要修改的时间” 4. 修改硬件时间 hwclock -w 5. 同步硬件时钟(hwclock)到系统时间(date): hwclock <span class="token parameter variable">--hctosys</span> 6. 同步系统时间(date)到硬件时钟(hwclock): hwclock <span class="token parameter variable">--systohc </span> |
1 2 3 |
git rm -r --cached "文件夹/文件的名字" git add "文件夹/文件的名称" git commit -m "修改理由" |
1 |
history |