note 84956 added to function.file-get-contents
| From: | EOD at osu1 dot php dot net | Date: | Thu, 07 Aug 2008 12:34:59 +0000 |
| Subject: | note 84956 added to function.file-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143264@lists.php.net to get a copy of this message | ||
if $filename has a relative path file_get_contents returns the uninterpreted sourcecode of the
php-file with all comments etc.
I don't know whether this is a bug or intented or caused by server-configuration.
I think this behaviour should be included in the description of the function.
----
Server IP: 194.153.94.10
Probable Submitter: 195.141.183.202
----
Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php
Edit -- https://master.php.net/note/edit/84956
Del: integrated -- https://master.php.net/note/delete/84956/integrated
Del: useless -- https://master.php.net/note/delete/84956/useless
Del: bad code -- https://master.php.net/note/delete/84956/bad+code
Del: spam -- https://master.php.net/note/delete/84956/spam
Del: non-english -- https://master.php.net/note/delete/84956/non-english
Del: in docs -- https://master.php.net/note/delete/84956/in+docs
Del: other reasons-- https://master.php.net/note/delete/84956
Reject -- https://master.php.net/note/reject/84956
Search -- https://master.php.net/manage/user-notes.php