note 8241 added to show_source
| From: | maxim at maxim dot cx | Date: | Fri, 01 Sep 2000 04:21:34 +0000 |
| Subject: | note 8241 added to show_source | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3867@lists.php.net to get a copy of this message | ||
I got it...
It is due the echo. In first case show_source() was inside an echo which probably overrides
something in the output of the function, since the function itself is an output.
the following works fine:
echo '<PRE>';
show_source ("experts.html");
echo '</PRE>';
here nothing influences show_source() and so it works perfectly...
Take a note of it!
Maxim Maletsky
http://www.php.net/manual/function.show-source.php