I am have trouble with file_get_contents() - on my small old server everything works fine, on my small brand new one it throw 404 error on some Web addresses I am looking to get.
All of the Web addresses come from exactly the same website as well as in exactly the same structure - however, many provides me with this message:
Warning: file_get_contents(http://url.com/path_to_file.html) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /home/user/domains/domain.com/public_html/tst.php on line 3
I've DirectAdmin together with his fundamental designs placed on the brand new server, while alternatively I've cPanel
Someone know what is the problem might be?