会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
立里青争
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
下一页
2019年3月12日
yii中通过HTTP post接收
摘要: 创建一个CURL.php的文件然后引用 1 request->get('p_name'); $url='http://weixin.api.com/index.php/restful/qq'; //实例化curl $curl = new Curl(); $aa=$curl->getCurl($url,'post',$data); ...
阅读全文
posted @ 2019-03-12 18:43 PHP小媛
阅读(1218)
评论(0)
推荐(0)
2019年2月26日
yii2框架中获取添加元素的主键
摘要: 控制器层: 模型层: 返回结果是:
阅读全文
posted @ 2019-02-26 11:03 PHP小媛
阅读(726)
评论(0)
推荐(0)
2019年2月18日
域名访问配置
摘要: 在httpd.conf中加入 index.php 和 index.html
阅读全文
posted @ 2019-02-18 19:10 PHP小媛
阅读(407)
评论(0)
推荐(0)
2019年2月14日
跨域和jsonp的原理
摘要: 什么是跨域? 跨域,指的是浏览器不能执行其他网站的脚本。它是由浏览器的同源策略造成的,是浏览器对JavaScript施加的安全限制。 所谓同源是指,域名,协议,端口均相同,不明白没关系,举个栗子: http://www.123.com/index.html 调用 http://www.123.com
阅读全文
posted @ 2019-02-14 14:27 PHP小媛
阅读(273)
评论(0)
推荐(0)
2019年1月17日
获取00时间戳
摘要: 1 $hou_time=strtotime(date("24:00:00",time())); 2 var_dump($hou_time);
阅读全文
posted @ 2019-01-17 14:38 PHP小媛
阅读(196)
评论(0)
推荐(0)
yii框架中获取添加数据后的id值
摘要: 1 Yii::$app->db->createCommand()->insert('month4_user',['openid'=>$openid,'integ'=>0])->execute(); 2 $id=Yii::$app->db->getLastInsertID(); 3 var_dump($id);
阅读全文
posted @ 2019-01-17 14:37 PHP小媛
阅读(3309)
评论(0)
推荐(0)
2019年1月11日
wdcp环境redis的位置
摘要:
阅读全文
posted @ 2019-01-11 11:06 PHP小媛
阅读(243)
评论(0)
推荐(0)
2019年1月10日
linux环境安装filephp扩展
摘要: 网址 :https://blog.csdn.net/m_nanle_xiaobudiu/article/details/80838424
阅读全文
posted @ 2019-01-10 14:05 PHP小媛
阅读(223)
评论(0)
推荐(0)
2019年1月3日
yii框架中使用gii的用法
摘要: 首先在config文件中的 main-local.php中添加一句
阅读全文
posted @ 2019-01-03 18:35 PHP小媛
阅读(893)
评论(0)
推荐(0)
lanmp环境中创建个软连接
摘要: 进入default,创建关于框架的链接 然后编辑配置文件 这样就可以在线上访问了。
阅读全文
posted @ 2019-01-03 14:12 PHP小媛
阅读(238)
评论(0)
推荐(1)
上一页
1
···
3
4
5
6
7
8
9
10
11
下一页
公告