Join Up!
members and counting!

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

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.

Nota: Esta función es segura bináriamente.

Sugerencia: Puede usar una URL como nombre de archivo con esta función si los "fopen wrappers" han sido activados. Consulte fopen() para más detalles.

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_existsfilenext
Last updated: Tue, 29 Oct 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