随笔分类 -  练习

摘要:load->view('index'); } // 注册 public function receive(){ $act=isset($_GET['act']) ? $_GET['act'] : ''; $pdo=new PDO("mysql:host=... 阅读全文
posted @ 2016-09-22 16:44 wepe 阅读(215) 评论(0) 推荐(0)
摘要:#开启重写引擎RewriteEngine on#配置重写规则RewriteRule seven7/Index.html seven7/index.php [L,NC]RewriteRule test seven7/test.php [L,NC]#RewriteRule index... 阅读全文
posted @ 2016-09-18 11:01 wepe 阅读(136) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-09-09 17:36 wepe 阅读(344) 评论(0) 推荐(0)
摘要:exec("set names utf8"); // 得到数据库的内容 $sql="select * from hao123"; $data=$pdo->query($sql)->fetchAll(PDO::FETCH_ASSOC); if ($dtype==... 阅读全文
posted @ 2016-09-09 11:49 wepe 阅读(291) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-09-07 15:02 wepe 阅读(99) 评论(0) 推荐(0)
摘要:'ecshop','password'=>'ecshop','remember'=>'1','act'=>'act_login','back_act'=>'./index.php','submit'=>''); //post提交 curl($url,$data,'POST',true,$cookie... 阅读全文
posted @ 2016-09-06 08:38 wepe 阅读(221) 评论(0) 推荐(0)
摘要:input->post('username'); $pwd=$this->input->post('pwd'); // 验证验证码 $captcha=$this->input->post('captcha'); ... 阅读全文
posted @ 2016-09-05 10:43 wepe 阅读(385) 评论(0) 推荐(0)