【发布时间】:2014-07-04 06:16:33
【问题描述】:
我遇到了问题。我正在编写一个应该使用 file_get_contents 函数的 php 脚本。
而且效果非常好,当我在我的脚本中使用它一次时效果非常好,我没有收到任何错误,但如果我实施更多,那么一旦我得到休闲错误
警告:file_get_contents((ddl"%cge,add`$Cbe&) [function.file-get-contents]: 无法打开流:/home/content/34/9587634/html/ 中没有这样的文件或目录WebSite.Com/userarea123/urlupload.php 第 85 行 过滤后的 HTML:页面标题:Harumi Sushi
这里以我的代码为例
$url1 = "http://www.dogpile.com";
$url2 = "http://www.google.com";
$Test1= file_get_contents($url1);
echo $Test1;
$Test2= file_get_contents($url2);
echo $Test2;
我不确定是什么导致了这个问题
感谢所有帮助 非常感谢
【问题讨论】:
-
问题不在于打开多个文件..它在 url(dogpile.com)..
标签: php file-get-contents