自学中心
文章平均质量分 64
撞角遇到你
这个作者很懒,什么都没留下…
展开
-
ci框架搜索memcache缓存
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class NewsCollect extends CI_Controller { public function __construct() { parent::__construct(); set_tim原创 2016-10-26 11:29:49 · 207 阅读 · 0 评论 -
ci框架的发邮件
$email=$this->input->post('email'); $admin_pwd=$this->input->post("admin_pwd"); $validate= md5(md5('hello')); $data=array( "email"=>$email, "admin_pwd"=>md5($admin_pwd), "va原创 2016-10-26 19:49:42 · 582 阅读 · 0 评论 -
多文件上传
/** * 添加图片 */ public function do_upload() { $img=$_FILES['img_log']; $new=array(); $count=count($img['name']); for($i=0;$i$count;$i++){ $new[$i]=""; } foreach($new as原创 2016-10-30 17:48:51 · 182 阅读 · 0 评论