上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 26 下一页
摘要: <?phpnamespace my; /*** 加载第三方类库*/ class Test{ public function sayHello(){ return 'hello'; }} ?> var_dump( (new \my\Test())->sayHello() ); 阅读全文
posted @ 2018-01-06 09:37 林间有风-邓 阅读(2382) 评论(0) 推荐(0)
摘要: <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)
摘要: 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)
摘要: 服务器 mysql未连接 苹果: 1.商品详情,不能上滑到产品 2.搜索之后,无首页 3.商品详情页->不能滑到底部 TP5: 译:调用未定义的方法app index controller索引::fetch() 改:class Index extends Controller{ } 译:类“app 阅读全文
posted @ 2017-12-28 09:41 林间有风-邓 阅读(124) 评论(0) 推荐(0)
摘要: <?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 $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)
摘要: <!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)
摘要: <?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)
摘要: <?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)
摘要: <?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 下一页