note 38837 added to function.file-get-contents
| From: | aidan@php.net | Date: | Thu, 08 Jan 2004 09:34:23 +0000 |
| Subject: | note 38837 added to function.file-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-63142@lists.php.net to get a copy of this message | ||
I belive the signature for this function should be:
file_get_contents ( string filename [, bool use_include_path [, resource context]])
Rather than:
file_get_contents ( string filename [, int use_include_path [, resource context]])
If you wish to include a function, using your php defined include_path:
<?
file_get_contents('yourfile.php', true);
?>
----
Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38837
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38837&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38837&report=yes
Search -- http://master.php.net/manage/user-notes.php