- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 通过IP端口访问TP5不同模块
1、添加Apache配置端口监听打开Apache的config文件夹中的httpd.conf,找到Listen添加监听端口如下:plainListen127.0.0.1:10002、配置vhost找到Apache目录下的httpd-vhosts.conf文件(在配置目录下conf\extra),添加如下代码:plain<VirtualHost...
2019-12-11 14:59:42 715
原创 PHP Warning: file_get_contents failed to open stream解决办法
$context = stream_context_create(array('http'=>array('ignore_errors'=>true)));$contents = file_get_contents($url, FALSE, $context);$contents的值为一个字符串,再用$api_data = json_decode(contents);再进...
2019-12-11 10:43:53 3434
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人