I try to get content from another site by using file_get_contents but I always get \"failed to open stream: HTTP request failed!\" allow_url_fopen is on, and I
Your webserver closes the connection immediately if the client doesn't send a User-Agent header. Try adding a user_agent option to your php.ini, or put: