会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
林间有风
作者qq:1415551519
博客园
首页
新随笔
联系
管理
上一页
1
···
12
13
14
15
16
17
18
19
20
···
26
下一页
2018年1月6日
tp5 加载第三方扩展类库与手动加载的问题
摘要: <?phpnamespace my; /*** 加载第三方类库*/ class Test{ public function sayHello(){ return 'hello'; }} ?> var_dump( (new \my\Test())->sayHello() );
阅读全文
posted @ 2018-01-06 09:37 林间有风-邓
阅读(2382)
评论(0)
推荐(0)
2018年1月5日
tp5 点击刷新验证码
摘要: <form action="<{:url('index/index/login')}>" method="post" name="form1" > <input type="text" name="username"><br> <input type="text" name="password"><
阅读全文
posted @ 2018-01-05 17:45 林间有风-邓
阅读(3746)
评论(0)
推荐(0)
2018年1月2日
phpStorm
摘要: Welcome!You can quickly get familiar with the main features of the IDE by reading these tips. You can try out the features described in the tips while
阅读全文
posted @ 2018-01-02 10:16 林间有风-邓
阅读(261)
评论(0)
推荐(0)
2017年12月28日
php错误 分析
摘要: 服务器 mysql未连接 苹果: 1.商品详情,不能上滑到产品 2.搜索之后,无首页 3.商品详情页->不能滑到底部 TP5: 译:调用未定义的方法app index controller索引::fetch() 改:class Index extends Controller{ } 译:类“app
阅读全文
posted @ 2017-12-28 09:41 林间有风-邓
阅读(124)
评论(0)
推荐(0)
2017年12月27日
ip 淘宝ip库 精简版
摘要: <?php header('Content-type: text/html; charset=utf-8'); //根据ip获取城市、网络运营商等信息 function findCityByIp($ip){ $data = file_get_contents('http://ip.taobao.co
阅读全文
posted @ 2017-12-27 13:23 林间有风-邓
阅读(774)
评论(0)
推荐(0)
ip 百度地图 php
摘要: 已知一个IP $ipname=api_hits($DT_IP); //apifunction getAddressComponent($ak, $longitude, $latitude, $pois){ $param = array( 'ak' => $ak, 'location' => impl
阅读全文
posted @ 2017-12-27 13:08 林间有风-邓
阅读(254)
评论(0)
推荐(0)
2017年12月20日
js立体旋转展示效果
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or
阅读全文
posted @ 2017-12-20 11:11 林间有风-邓
阅读(311)
评论(0)
推荐(0)
2017年12月14日
mysql 基础
摘要: <?php$mysql_conf = array( 'host' => 'localhost', 'db' => 'zhijin', 'db_user' => 'root', 'db_pwd' => '', );$mysql_conn = @mysql_connect($mysql_conf['ho
阅读全文
posted @ 2017-12-14 11:45 林间有风-邓
阅读(128)
评论(0)
推荐(0)
2017年12月13日
获取ip
摘要: <?php //获取访客ipfunction getIp(){ $ip=false; if(!empty($_SERVER["HTTP_CLIENT_IP"])){ $ip = $_SERVER["HTTP_CLIENT_IP"]; } if (!empty($_SERVER['HTTP_X_FOR
阅读全文
posted @ 2017-12-13 13:58 林间有风-邓
阅读(229)
评论(0)
推荐(0)
php 抽奖概率 随机数
摘要: <?phpheader("Content-Type: text/html; charset=utf-8");$prize_arr = array( '0' => array('id' => 1, 'url' => 'http://mp.weixin.qq.com/s/hyPRO4tJAl1cJaY9
阅读全文
posted @ 2017-12-13 11:40 林间有风-邓
阅读(1136)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
19
20
···
26
下一页
公告