摘要: <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>js获取日期:前天、昨天、今天、明天、后天 - www.vnote.net</title></head><body><scrip 阅读全文
posted @ 2016-09-07 16:19 云产品解决方案 阅读(10416) 评论(0) 推荐(0) 编辑
摘要: 其实对于懂电脑的人来说破解电脑的系统密码还是很简单的,这里并不是说教你偷窥别人的隐私,而是有时候自己忘记了电脑系统密码又不想重装系统就可以用到了。下面我我介绍两种办法。第一种比较简单,但是要有个启动U盘,把U盘做成启动盘,多大的U盘都可以,至于怎么做,你可以到网上下载个电脑店一键U盘制作,这并不需要 阅读全文
posted @ 2016-09-06 10:11 云产品解决方案 阅读(960) 评论(0) 推荐(0) 编辑
摘要: 修改/usr/local/nginx/conf目录下的nginx.conf文件,修改后重新加载nignx服务 [root@user]#cd /usr/local/nginx/sbin [root@user]#cd ./nginx -s reload nginx指令中的优化(配置文件) nginx进程 阅读全文
posted @ 2016-08-25 17:32 云产品解决方案 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 直接输出访客所在国家、省份、城市 <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <center> <H1 > <font id="ip" size="5"></font> </H1> </center> <script ty 阅读全文
posted @ 2016-08-25 17:09 云产品解决方案 阅读(2267) 评论(0) 推荐(0) 编辑
摘要: 首先先理解一下 CGI 、FASTCGI 、PHP-FPM的概念 CGI 是用来接收HTTP请求的一个程序,例如[127.0.0.1/index.php?c=article&id=11,这个请求通过apahce、nginx等等过来,然后http服务器发送给php-cgi(就是php用来接收http的 阅读全文
posted @ 2016-08-25 16:47 云产品解决方案 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 使用netstat命令,查看VPS当前链接确认是否受到攻击:netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n ——————————————————————————————————— 连接80端口的链接数n 阅读全文
posted @ 2016-08-25 16:28 云产品解决方案 阅读(281) 评论(0) 推荐(0) 编辑
摘要: //HTML页面 <form method="post" name="表单名" action="指定PHP文件或者方法" enctype="multipart/form-data" style="text-align:center"> <table style="text-align:center" 阅读全文
posted @ 2016-08-18 22:10 云产品解决方案 阅读(219) 评论(0) 推荐(0) 编辑
摘要: //JS根据访问终端对应显示【iPhone|iPad|iPod|iOS】、【Android】、【PC】三种不同的内容 //主要原理为:JS根据id值修改对应HTML标签属性 <html> <head> <meta http-equiv="Content-Type" content="text/htm 阅读全文
posted @ 2016-08-05 20:56 云产品解决方案 阅读(224) 评论(0) 推荐(0) 编辑
摘要: //键盘keyCode值对照表 <html> <head> <title>JS禁用键盘、鼠标操作</title> </head> <!--禁用键盘开始--> <script language="JavaScript"> document.onkeydown=function(){ with(wind 阅读全文
posted @ 2016-07-28 17:31 云产品解决方案 阅读(7621) 评论(0) 推荐(1) 编辑
摘要: 第一步:检查服务器是否安装了crontab 执行[root@root ~]# crontab -l或者其他crontab命令,如果提示 crontab not found 则 执行安装命令: [root@root ~]# yum install vixie-cron [root@root ~]# y 阅读全文
posted @ 2016-07-28 17:25 云产品解决方案 阅读(248) 评论(0) 推荐(0) 编辑