Join Up!
104887 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousfile_existsfile_get_wrapper_datanext
Last updated: Tue, 28 May 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | German | Spanish

file_get_contents

(PHP 4 CVS only)

file_get_contents -- Reads entire file into a string

Description

string file_get_contents ( string filename [, int use_include_path])

Identical to readfile(), except that file_get_contents() returns the file in a string.

Huomaa: This function was introduced in PHP 4.3.0.

Huomaa: Tämä funktio osaa käsitellä myös binäärimuotoista dataa. (esim. kuvia)

Vihje: Tämän funktion kanssa voit käyttää myös URLia tiedostonimen sijaan jos "fopen wrappers" on kytketty päälle. Katso myös fopen().

See also: fgets(), file(), fread(), include(), and readfile().

User Contributed Notes
file_get_contents
add a note about notes
There are no user contributed notes for this page.
previousfile_existsfile_get_wrapper_datanext
Last updated: Tue, 28 May 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST