Top "File-get-contents" questions

In PHP, file_get_contents is the preferred way to read the contents of a file into a string.

PHP Parallel curl requests

I am doing a simple app that reads json data from 15 different URLs. I have a special need that I …

php curl file-get-contents
file_get_contents(): php_network_getaddresses: getaddrinfo failed

I'm trying to update some values from one server to another server with a cron job. I use file_get_…

php dns file-get-contents
PHP basic auth file_get_contents()

I need to parse some XML data from a website. The XML data is in raw format, but before I …

php authentication file-get-contents
How to send cookies with file_get_contents

I'm trying to get the contents from another file with file_get_contents (don't ask why). I have two files: …

php session cookies file-get-contents
faster fopen or file_get_contents?

i am running multiple websites with high traffic , as a requirement , all images are downloaded via image.php?id=IMAGE_…

php fopen file-get-contents
Faster alternative to file_get_contents()

Currently I'm using file_get_contents() to submit GET data to an array of sites, but upon execution of the …

php curl file-get-contents curl-multi
file_get_contents or curl in php?

Which of file_get_contents or curl should be used in PHP to make an HTTP request? If file_get_…

php curl file-get-contents
php file_get_contents authorization header

Can anyone give me any explanation for why this authorization function for a private bitbucket repository is working on my …

php file-get-contents
Is there a limit on PHP file_get_contents?

I am trying to read a large file (10M) using php file_get_contents $file = 'http://www.remoteserver.com/test.…

php file-get-contents large-files
file_get_contents from url that is only accessible after log-in to website

I would like to make a php script that can capture a page from a website. Think file_get_contents($…

php authentication session curl file-get-contents