随笔分类 - 练习
摘要:load->view('index'); } // 注册 public function receive(){ $act=isset($_GET['act']) ? $_GET['act'] : ''; $pdo=new PDO("mysql:host=...
阅读全文
摘要:#开启重写引擎RewriteEngine on#配置重写规则RewriteRule seven7/Index.html seven7/index.php [L,NC]RewriteRule test seven7/test.php [L,NC]#RewriteRule index...
阅读全文
摘要:exec("set names utf8"); // 得到数据库的内容 $sql="select * from hao123"; $data=$pdo->query($sql)->fetchAll(PDO::FETCH_ASSOC); if ($dtype==...
阅读全文
摘要:'ecshop','password'=>'ecshop','remember'=>'1','act'=>'act_login','back_act'=>'./index.php','submit'=>''); //post提交 curl($url,$data,'POST',true,$cookie...
阅读全文
摘要:input->post('username'); $pwd=$this->input->post('pwd'); // 验证验证码 $captcha=$this->input->post('captcha'); ...
阅读全文

浙公网安备 33010602011771号