03 2016 档案
摘要:function getinfo($pid){ $str = ''; $row = M('user')->where(array('pid'=>$pid))->select(); if($row){ foreach($row as $key => $val ){ $str .= ','.$val['id']; ...
阅读全文
摘要:if(strtolower($_SERVER['REQUEST_METHOD']) == 'post'){} //判断是否POST提交
阅读全文
摘要:1 /** 2 * User: finn.lee 3 * Date: 2016/3/5 14:25 4 */ 5 $rows = array( 6 0=>array( 7 'cat_id' => 1, 8 'name' => 'dev', 9 'pid' => 0 10 ), 11 1=>array
阅读全文
摘要:http://www.atool.org/httptest.php
阅读全文
摘要:public function logIn($msg){ $fp = fopen($this->file,"a+"); flock($fp, LOCK_EX) ; //锁定文件 fwrite($fp,"执行日期:".date("Y-m-d H:i:s",time())."\n".$msg."\n\n
阅读全文