You have to define custom stream context (3rd argument of function file_get_contents) with ignore_errors option on.
More Related Contents:
- How to get file_get_contents() to work with HTTPS?
- PHP Parallel curl requests
- PHP cURL vs file_get_contents
- How to use CURL instead of file_get_contents?
- curl and ping – how to check whether a website is either up or down?
- get url content PHP [duplicate]
- We need a script to create a backup of all the files, database and email using third party Cpanel details in PHP
- How to POST JSON Data With PHP cURL?
- how to upload file using curl with PHP [closed]
- How to catch cURL errors in PHP
- Downloading a large file using curl
- Send file via cURL from form POST in PHP
- How do I install cURL on Windows?
- Scrape web page contents
- PHP cURL error code 60
- Call to undefined function curl_init().? [duplicate]
- Persistent/keepalive HTTP with the PHP Curl library?
- How to get SSL certificate info with CURL in PHP?
- How do I install the ext-curl extension with PHP 7?
- cURL , get redirect url to a variable
- How to send a status code in PHP, without maintaining an array of status names?
- PHP multipart form data PUT request?
- PHP, cURL post to login to WordPress
- Is it possible to set the cookie content with CURL?
- Web scraping in PHP
- Twilio PHP – SSL certificate: self signed certificate in certificate chain
- Converting a POSTMAN request to Curl
- Returning header as array using Curl
- how to maintain session in cURL in php?
- How to execute and get content of a .php file in a variable?