note 8240 added to show_source
| From: | maxim at maxim dot cx | Date: | Fri, 01 Sep 2000 04:14:02 +0000 |
| Subject: | note 8240 added to show_source | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3865@lists.php.net to get a copy of this message | ||
There's a small curiosity of mine:
Somehow
echo '<PRE>'.show_source ("index.php").'</PRE>';
doesn't work.. It outputs the code messed up together.. No line breaks, no <PRE>s ..
But
?>
<PRE>
<?show_source ("index.php");?>
</PRE>
<?
Works just like a heart of a baby..
I didn't know that escaping from HTML could be an issue in this or any other function...
Maxim Maletsky
http://www.php.net/manual/function.show-source.php