摘要:
<?php /** * Created by PhpStorm. * User: Administrator * Date: 16-2-1 * Time: 下午11:39 */ namespace Home\Controller; use Think\Controller; class CateCo 阅读全文
摘要:
private function http_get_data($url){ $ch = curl_init($url) ; curl_setopt($ch, CURLOPT_RETURNTRANSFER, true) ; // 获取数据返回 curl_setopt($ch, CURLOPT_BINA 阅读全文
摘要:
dracut-initqueue[624]:Warning: Could not boot.dracut-initqueue[624]:Warning: /dev/root does not exist.Starting Dracut EmergencyShell…Warning: /dev/roo... 阅读全文
摘要:
1、HTML端 *请输入昵称|中奖码|手机号|奖品名称 2、PHP端 ... 阅读全文
摘要:
PHP命令找不到: export PATH=$PATH:/usr/local/php/bin https://www.centos.bz/forum/thread-69-1-1.html 步骤: wget --no-check-certificate http://www.centos.bz/ezh 阅读全文
摘要:
1、html页面 ... 阅读全文
摘要:
阅读全文
摘要:
public function rewardlog(){ $adminNav = C('ADMIN_NAV'); $adminNav[1]['class'] = 'cur'; $this->assign('adminNav',$adminNav); ... 阅读全文
摘要:
1、多表查询(左连接) SELECT a.*,b.*,b.id AS reid,c.*,c.id AS prid FROM `1008_user` a LEFT JOIN `1008_reward` b ON a.id = b.uid LEFT JOIN `1008_prize` c ON c.id 阅读全文
摘要:
开启表单令牌:先在配置文件目录下定义tags.php 在里面添加return array( 'view_filter' =>array('Behavior\TokenBuildBehavior'), //view_filter貌似必须为小写 //'view_filter' =>array... 阅读全文