note 8240 modified in show_source by ronabop

From: Date: Sat, 02 Sep 2000 03:11:30 +0000
Subject: note 8240 modified in show_source by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3913@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 http://www.php.net/manual/function.show-source.php

« previous php.notes (#3913) next »