View Single Post
  #32 (permalink)  
Old 04-15-2008, 02:02 AM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,162
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default Re: Filesystem Object in PHP

file_get_contents() - Reads entire file into a string.

Identical 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() is the preferred way to read the contents of a file into a string. It will use memory mapping techniques if supported by your OS to enhance performance.
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote