fopen()失败,导致errno = 10553 - “连接中止”

时间:2014-08-19 20:04:46

标签: php fopen

当我在我的服务器文件上使用fopen()时,它工作得很完美,但如果我使用其他网址,那就不行了!

这就是我使用它的方式(以防万一):

<?php
$page = fopen("http://www.example.com/", "r");
...
?>

这就是我从服务器上得到的:

Notice: fopen(): send of 16 bytes failed with errno=10053 An established connection was aborted by the software in your host machine. in 

Notice: fopen(): send of 23 bytes failed with errno=10053 An established connection was aborted by the software in your host machine. in 

Notice: fopen(): send of 2 bytes failed with errno=10053 An established connection was aborted by the software in your host machine. in

Warning: fopen(http://www.example.com/): failed to open stream: HTTP request failed! in 

所有指向fopen()。 (为了隐私,我省略了路径)

我用谷歌搜索并浏览了php.net,但我找不到答案。

0 个答案:

没有答案