note 23626 added to function.file-get-contents
| From: | tater@php.net | Date: | Wed, 24 Jul 2002 01:25:18 +0000 |
| Subject: | note 23626 added to function.file-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33457@lists.php.net to get a copy of this message | ||
The problem with the above function is that filesize() will not look in the include path, or work on
remote files. I don't see another alternative to using join('',$returned_array) for
the pre-4.3 moment (or a fread() loop to be binary-safe). I'd love to be wrong about this,
though...
--
http://www.php.net/manual/en/function.file-get-contents.php
http://master.php.net/manage/user-notes.php?action=edit+23626
http://master.php.net/manage/user-notes.php?action=delete+23626
http://master.php.net/manage/user-notes.php?action=reject+23626