wi968.com
curl 操作 - 简单的,快乐的生活
http://wi968.com/php/124.html
Laquo; 致即将逝去的2014,迎接崭新的2015. 哥们 修改的地方 能把代码贴出来吧 . And Transplant By Haotian.
wi968.com
php 日期函数 - 简单的,快乐的生活
http://wi968.com/php/126.html
这个星期的星期一 / @$timestamp ,某个星期的某一个时间戳,默认为当前时间 / @is return timestamp ,是否返回时间戳,否则返回时间格式 function this monday($timestamp=0,$is return timestamp=true){ static $cache ; $id = $timestamp.$is return timestamp; if(! Timestamp) $timestamp = time(); $monday date = date('Y-m-d', $timestamp-86400*date('w',$timestamp) (date('w',$timestamp) 0? Timestamp) $timestamp = time(); $thismonday = this monday($timestamp) - /*7*86400*/604800; if($is return timestamp){ $cache[$id] = $thismonday; }else{ $cache[$id] = date('Y-m-d',...
wi968.com
致即将逝去的2014,迎接崭新的2015 - 简单的,快乐的生活
http://wi968.com/life/125.html
Laquo; php 日期函数. 哥们 修改的地方 能把代码贴出来吧 . And Transplant By Haotian.
wi968.com
生活记录 - 简单的,快乐的生活
http://wi968.com/sort/life
2014 一直都想说点什么,可又不知道从何说起 很多时候心中就会感到莫名的失落与无奈 这一年来也在不停的努力过好自己的生活。 不知道写些什么 生活过的简简单单 摆脱了那种单身而苦逼的相亲 人的相遇是一种缘分 &nb [ 阅读全文. 看着时间不断的流逝,写点东西来记录一下2013 姓名 李宏 一名连菜鸟都算不上的程序员 自从离开工作几年的公司 心里也没有什么留恋 唯一的就是这几年都是自己一直在学习 没有什么压力 没有什么动力 这一年过的平平淡淡 没有理想的收入 这一年结婚 都是父母的血汗钱 心里一直感觉有亏 我的脾气也不是太好 有点暴躁 那个媳妇啊 我常常喊你 在此说声对不起 我就是觉 [ 阅读全文. 以前的时间过的太过于空闲,以至于自己什么也不会 & [ 阅读全文. Http:/ www.imagemagick.org/script/binary-releases.php#windows Version HTTP FTP Description [ 阅读全文. 哥们 修改的地方 能把代码贴出来吧 . And Transplant By Haotian.
wi968.com
微语 - 简单的,快乐的生活
http://wi968.com/t
随机 SELECT * FROM ad product AS r1 JOIN (SELECT ROUND(RAND() * (SELECT MAX(pid) FROM ad product) AS pid) AS r2 WHERE r1.pid = r2.pid. 哥们 修改的地方 能把代码贴出来吧 . And Transplant By Haotian.
wi968.com
工作随笔 - 简单的,快乐的生活
http://wi968.com/sort/lh1
滚屏加载- 无刷新动态加载数据分页 #container{margin:10px auto;width: 660px; border: 1px solid #999;} .single item{padding: 20px; border-bottom: 1px d [ 阅读全文. Function addManiac($text,$addend){ preg match('/ (? D*)$/',$text,$m); if( $len d=strlen($m['d']) 0){ $num=intval($m['d']) $addend; return $m['a'].sprintf('%0'.$len d.'d',$num); [ 阅读全文. 这个星期的星期一 / @$timestamp ,某个星期的某一个时间戳,默认为当前时间 / @is return timestamp ,是否返回时间戳,否则返回时间格式 function this monday($timestamp=0,$is return timestamp=true){ static $cache ; $id = $tim [ 阅读全文.
wi968.com
jquery - 简单的,快乐的生活
http://wi968.com/sort/jquery
Indexhtml 页面自动加载内容 document.write(Get string('电话7') aa.js $(document).ready(function(){ $("#tel").html('电话1电话2电话3'); $("#info").html(Get string('电话4电话5 [ 阅读全文. Function checked(){ var s = document.addForm.keyword.value; alert(s); var ss = document.getElementById('keyword').value; alert(ss); var keyword = document.forms['addForm'].elements['keyword'].v [ 阅读全文. Fatal error: Class 'ZipArchive' not found的解决办法. 出现这个错误说明是程序在调用'ZipArchive' 这个类的时候没有成功,原因是由于在安装php的时候没有增加php zip的支持 非zlib。 哥们 修改的地方 能把代码贴出来吧 .
wi968.com
删除、查找、数据库导入、导出常用命令记录|linux - 简单的,快乐的生活
http://wi968.com/linux/4.html
Mysqldump -u用户名 -p密码 数据库名 数据库名.sql. Mysqldump -uroot -p wi968 /var/www/html/wi968.sql;. Mysqldump -uroot -p -d wi968 /var/www/html/wi96820131114.sql;. Mysql create database abc;. Mysql use abc;. Mysql set names utf8;. Mysql source /var/www/html/wi96820131114.sql;. Mysql -u用户名 -p密码 数据库名 数据库名.sql. Mysql -uroot -p phpmywind db /var/www/html/wi96820131114.sql;. Rm -f /var/log/httpd/access.log. Find / -name XXX;. Laquo; 验证码 JS and PHP. 哥们 修改的地方 能把代码贴出来吧 . And Transplant By Haotian.
wi968.com
php post百度提交url - 简单的,快乐的生活
http://wi968.com/php/127.html
Php / 定时推送 header("Content-type:text/html;charset=utf-8"); $telnetconn = mysql connect("localhost","root","admin"); mysql select db('db',$telnetconn); mysql query("set names utf8"); mysql query($sql,$telnetconn); set time limit(0); / 产品分类 function columnName($id){ global $telnetconn; $sql ="select name from `pro column` where column id='$id'"; $query = mysql query($sql); $row = mysql fetch assoc($query); return $row['name']; } function tobaidu($url,$colname,$lasttime){ $ntime=time(); $now = date('Y-m-d',...