In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (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

>From <http://php.net/file-get-contents>: "file_get_contents (PHP 4 CVS 
only)".  That's why it's not in your version.  Reading further, it says 
"Identical to readfile(), except that file_get_contents() returns the file 
in a string."  So if don't need to do additional manipulation of the 
contents, there is one viable alternative.  The user annotations suggest 
two additional alternatives.

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to