08 2016 档案
摘要:修改/usr/local/nginx/conf目录下的nginx.conf文件,修改后重新加载nignx服务 [root@user]#cd /usr/local/nginx/sbin [root@user]#cd ./nginx -s reload nginx指令中的优化(配置文件) nginx进程
阅读全文
摘要:直接输出访客所在国家、省份、城市 <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <center> <H1 > <font id="ip" size="5"></font> </H1> </center> <script ty
阅读全文
摘要:首先先理解一下 CGI 、FASTCGI 、PHP-FPM的概念 CGI 是用来接收HTTP请求的一个程序,例如[127.0.0.1/index.php?c=article&id=11,这个请求通过apahce、nginx等等过来,然后http服务器发送给php-cgi(就是php用来接收http的
阅读全文
摘要:使用netstat命令,查看VPS当前链接确认是否受到攻击:netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n ——————————————————————————————————— 连接80端口的链接数n
阅读全文
摘要://HTML页面 <form method="post" name="表单名" action="指定PHP文件或者方法" enctype="multipart/form-data" style="text-align:center"> <table style="text-align:center"
阅读全文
摘要://JS根据访问终端对应显示【iPhone|iPad|iPod|iOS】、【Android】、【PC】三种不同的内容 //主要原理为:JS根据id值修改对应HTML标签属性 <html> <head> <meta http-equiv="Content-Type" content="text/htm
阅读全文

浙公网安备 33010602011771号