Error 404 with file_get_contents on one server, on another it works fine <p>I'm have a problem with file_get_contents() - on my old server everything works fine, on my new one it throw 404 error on some URLs I'm trying to get.<br> All the URLs are from the same website and in the same structure - but some gives me this message:</p> <pre><code>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 </code></pre> <p>I have DirectAdmin with his basic configurations installed on the new server, while on the other I have cPanel</p> <p>Someone know what's the problem could be?</p> <p>Thanks.</p>