Fetching the content of web pages with file_get_contents() works fine so far. But now I also want to fetch the contents of an error page. Because of the 404 status, I don't get the HTML of the page.
I guess, I could work around this by using some external utility like wget, but I'd like to avoid external tools.
Is there a way to tell file_get_contents() to ignore the HTTP response code?