小编Bru*_*uno的帖子

file_get_contents - 连接超时

<?php
$a = file_get_contents('http://www.google.com');
echo $
Run Code Online (Sandbox Code Playgroud)

为什么浏览器会返回此错误?

Warning: file_get_contents(http://www.google.com) [function.file-get-contents]: failed to open stream: Connection timed out in /home/test.php on line 2
Run Code Online (Sandbox Code Playgroud)

php

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

php ×1