add nl2br() to make it look pretty e.g

<span>
<?
$mem = join('', file('index.htm'));

$mem = htmlspecialchars($mem);
$mem = nl2br($mem);
echo $mem;
?>
</span>
----- Original Message ----- 
From: "Roman Duriancik" <[EMAIL PROTECTED]>
To: "PHP-General" <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002 11:53 AM
Subject: [PHP] Source code


> How I show in IE source code of html page with php ?
> 
> 
> roman
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to