Fork me on GitHub
代码改变世界

收邮件

2012-10-14 22:42 by freefei, 277 阅读, 0 推荐, 收藏, 编辑
摘要:[php]/**收邮件方法2*/public function receives(){vendor('PHPMailer.imap');//导入收邮件类 $mailInfo=M("EmailInfo"); $maillist=M('EmailMaillist');//收邮件列表 //$data=$maillist->create(); //$where['uid']=$this->mid; $wh... 阅读全文

过滤js函数

2012-10-10 20:34 by freefei, 294 阅读, 0 推荐, 收藏, 编辑
摘要:[php]// 过滤非法字符函数function cleanJs($text){ $text = trim($text); $text = stripslashes($text); //完全过滤动态代码 $text = preg_replace('//','',$text); //完全过滤js $text = preg_replace('//','',$text); //过滤多余html $tex... 阅读全文

oa项目 发送提示消息接口

2012-10-09 20:22 by freefei, 322 阅读, 0 推荐, 收藏, 编辑
摘要:[php]// (提醒人的id,appNotify,标题,内容,发送信息的uid,0/1,应用key) 0弹出提醒 1 不弹出提醒model(Notify)->add("$this->mid",appNotify,标题,内容,发送信息的uid,是否不通知,应用key);[/php] 阅读全文

php获取文件后缀函数

2012-10-09 17:49 by freefei, 167 阅读, 0 推荐, 收藏, 编辑
摘要:返回后缀传入文件路径地址[php]function extend_1($file_name) //获取文件的后缀{$retval="";$pt=strrpos($file_name, ".");if ($pt) $retval=substr($file_name, $pt+1, strlen($file_name) - $pt);return ($retval);}[/php] 阅读全文

thinkphp 多表关联查询 设置多条件

2012-10-08 23:45 by freefei, 1053 阅读, 0 推荐, 收藏, 编辑
摘要:$this->_link = array( 'NavigationUrl'=>array( 'mapping_type'=>HAS_MANY, 'class_name' =>'NavigationUrl', 'foreign_key'=>'cateid', 'condition'=> "uid=$a", ... 阅读全文

thinkphp model中写函数

2012-10-08 21:56 by freefei, 246 阅读, 0 推荐, 收藏, 编辑
摘要:_link = array( 'NavigationUrl'=>array( 'mapping_type'=>HAS_MANY, 'class_name' =>'NavigationUrl', 'foreign_key'=>'cateid', 'condition'=> "uid=$a", ), );... 阅读全文

最终还是用了wordpress 你好wordpress

2012-10-08 21:53 by freefei, 183 阅读, 0 推荐, 收藏, 编辑
摘要:阿斯达 阅读全文

世界,你好!

2012-10-08 21:38 by freefei, 162 阅读, 0 推荐, 收藏, 编辑
摘要:欢迎使用 WordPress。这是系统自动生成的演示文章。编辑或者删除它,然后开始您的博客! 阅读全文

About

2012-10-08 21:38 by freefei, 84 阅读, 0 推荐, 收藏, 编辑
摘要:hi name is freefei!wellcome to my blog ,name is freefei(冉幕飞),so if you content with my please call me QQ:362134111 or sent mail admin@ff-gzs.cn, hi im a phper !!!... loveing:运用到的技术 php, mysql, htm... 阅读全文
上一页 1 ··· 17 18 19 20 21
@ https://github.com/ranmufei

守望者舆情监控

守望者舆情监控系统