note 8240 deleted from show_source by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Thu, 07 Sep 2000 14:05:21 +0000 |
| Subject: | note 8240 deleted from show_source by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4324@lists.php.net to get a copy of this message | ||
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..
the following also works fine:
echo '<PRE>';
show_source ("experts.html");
echo '</PRE>';
I didn't know that escaping from HTML could be an issue in this or any other function...
Maxim Maletsky