我在一个函数中使用simplexml_load_file(),它与每个rss成功一起使用但是我对这个站点的 Rss有问题, 例如:
http://www.bignewsnetwork.com/index.php/nav/rss/4a6d634cbccbbfe2
我也无法使用file_get_contents()获取此页面源代码;
有我的错误:
Warning: simplexml_load_file(http://www.bignewsnetwork.com/index.php/nav/rss/4a6d634cbccbbfe2) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in C:\wamp\www\php\44\xml.php on line 5
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://www.bignewsnetwork.com/index.php/nav/rss/4a6d634cbccbbfe2" in C:\wamp\www\php\44\xml.php on line 5
bool(false)
Run Code Online (Sandbox Code Playgroud)
我该如何使用这个RSS?请帮我.