note 20787 added to function.file-get-contents
| From: | bogdanbog at yahoo dot com | Date: | Tue, 16 Apr 2002 11:12:02 +0000 |
| Subject: | note 20787 added to function.file-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29426@lists.php.net to get a copy of this message | ||
Or you can use the fread syntax in the manual
$fd = fopen ($filename, "rb");
$contents = fread ($fd, filesize ($filename));
fclose ($fd);
BTW ... is ver 4.3.0 out ?
--
http://www.php.net/manual/en/function.file-get-contents.php
http://master.php.net/manage/user-notes.php?action=edit+20787
http://master.php.net/manage/user-notes.php?action=delete+20787
http://master.php.net/manage/user-notes.php?action=reject+20787