Re: Source code
| From: | adrian murphy | Date: | Fri, 06 Sep 2002 12:19:36 +0000 |
| Subject: | Re: Source code | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115442@lists.php.net to get a copy of this message | ||
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" <rduriancik@indprop.gov.sk>
To: "PHP-General" <php-general@lists.php.net>
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
>