Top "File-get-contents" questions

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

Ignoring errors in file_get_contents HTTP wrapper?

The following code is to query an online thesaurus for a search engine I'm building as a college project, but …

php file-get-contents
PHP file_get_contents ignoring timeout?

$url = 'http://a.url/i-know-is-down'; //ini_set('default_socket_timeout', 5); $ctx = stream_context_create(array( 'http' => array( 'timeout' => 5, …

php file-get-contents connection-timeout
Elastic search and Codeigniter (PHP)

I'm trying using ElasticSearch with Codeigniter framework. What i did is just install ElasticSearch and copyed ( :P ) a good PHP …

php codeigniter file-get-contents elasticsearch
php - file_get_contents - Downloading files with spaces in the filename not working

I am trying to download files using file_get_contents() function. However if the location of the file is http://…

php urlencode file-get-contents
Google Drive GET_CONTENT intent read file

I have an app on android that does some file sharing using cloud storages like dropbox. To start sharing I …

android google-drive-api file-get-contents
php file_get_contents($url) & turns into &

I am trying to make a request to the coinbase api like this $url = "https://api.gdax.com/products/BTC-USD/…

php url file-get-contents url-encoding ampersand
file_put_contents and file_get_contents exhaust memory size

I have some simple trying to write from one file to another. $content=file_get_contents("C:\Users\Borut\Desktop\…

php file-get-contents memory-limit
Need response body of HTTP 500 with file_get_contents (PHP)

Using file_get_contents as part of custom SOAP implementation to apply SOAP calls (ALL libraries that we tried would …

php file-get-contents http-error
PowerShell Issue with Get-Content

I have an issue. When I run a command: powershell -command "gc C:\Program Files\Microsoft SQLServer\MSSQL.1\MSSQL\LOG\…

windows powershell file-get-contents remote-access windows-console
PHP file_get_contents() behaves differently to browser

I'm trying to download the contents of a web page using PHP. When I issue the command: $f = file_get_…

php file-get-contents