note 15563 added to function.show-source
| From: | aleczapka at php2 dot chek dot com | Date: | Mon, 17 Sep 2001 23:46:28 +0000 |
| Subject: | note 15563 added to function.show-source | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18101@lists.php.net to get a copy of this message | ||
There is a bug with this function.
When you set your apache DOCUMENT_ROOT to '/somedir/somesite/index.php' this function
stops working even if you specify full path to your source file.
show_source('/somedir/somesite/functions.php') will not work in this case.
you will only get the source of index.php or nothing.
solution? write your own show_source() or wait until the bug is fixed :)
http://www.php.net/manual/en/function.show-source.php