It's not in any released version. I wonder where you have heard of it and why that source didn't mentioned it is not in any released version yet. It's only available in the current CVS HEAD branch.
See also the manual entry at http://www.php.net/manual/en/function.file-get-contents.php: "Note: This function was introduced in PHP 4.3.0." You can lookup the source yourself at current cvs php4/ext/standard/file.c - Markus On Fri, Apr 19, 2002 at 07:53:49PM +0200, Giovanni Lenzi wrote : > file_get_contents function is supposed to return the contents of a file in a > binary safe manner. I tried it on two different servers which has different > versions of APACHE+PHP but it still not works. > The server give me this response: > > Fatal error: Call to undefined function: file_get_contents() in > /usr/home/s/a/sauzer/public_html/sfidario/readstreams/1.0/warsupcoming.php > on line 17 > > Surely i have to update PHP version but i can't do it onto the remote > server. > So i have to create myself this function. > > Can anyone help me please?? > Does anyone have the full source code of this function?? > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc "Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah... none :)" -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php