PHP Function List
file_get_contents() doesn't exist. Closest matches:
- file_get_contents
- file_put_contents
- ob_get_contents
- stream_get_contents
- domnode_get_content
- svn_fs_file_contents
- getconstants
- cairo_surface_get_content
- domnode_set_content
- curl_multi_getcontent
- getconstant
- pdf_get_font
- hw_document_content
- ldap_get_entries
- pdf_get_fontname
- pdf_get_fontsize
- zlib_get_coding_type
- apc_define_constants
- bcompiler_write_constant
- ming_useconstants
Site Search Results
-
This function is similar to file(), except that file_get_contents() returns the file in a string, starting at the specified offset up to maxlen bytes.
-
file_get_contents (PHP 4 >= 4.3.0, PHP 5) file_get_contents — Lit tout un fichier dans une chaîne
-
$counter = file_get_contents ("counter.txt"); $counter ++; file_put_contents ("counter.txt", $counter); echo $counter;?> Or a graphic hit counter: <?php
-
... responds with a 1xx, 4xx, or 5xx status code, you will get a "failed to open stream: HTTP request failed!", followed by the HTTP status response. Same goes for file_get_contents ...
-
file_get_contents (PHP 4 >= 4.3.0, PHP 5) file_get_contents — Liest die gesamte Datei in einen String
-
stream_context_create - Manual$opts = array( 'http' => array ('method'=>'GET', 'header'=>$header)); $ctx = stream_context_create($opts); file_get_contents($url,false,$ctx);
-
This is useful with all-in-one file functions such as readfile(), file(), and file_get_contents() where there is otherwise no opportunity to apply a filter to the stream ...
-
If you need to read an entire file into a string, use file_get_contents(). fgets() is most useful when you need to process the lines of a file separately.
-
file_get_contents (PHP 4 >= 4.3.0, PHP 5) file_get_contents — ファイルの内容を全て文字列に読み込む
-
Supported Protocols and Wrappers - ManualI find using file_get_contents with php://input is very handy and efficient. Here is the code: $request = ""; $request = file_get_contents("php://input");

Other forms of search
To search the string "file_get_contents()" using other options, try searching:
- Only the documentation
- Only this mirror
- The entire php.net domain
- pear.php.net
- pecl.php.net
- The Bug DB
- php-general mailing list
- Internals mailing list
- Documentation mailing list
For a quick overview over all documented PHP functions, click here.
