"Peter Lauri" wrote:
Your array that you get from the file() will contain the <?php tag,
but you will not see it in your browser as it is parsed as html.
header("Content-type: text/plain");
ontop of your script will output plain text. Hope it helps.
I wanna output several kinds of ascii files. Two things are
bothering me right now:
1. I don`t get the PHP starttag (<?php) in my output, but the ending
tags. Is there anything I can to to get all of it?
2. How can I stop the browser to render HTML output, in order to get
plain ascii?
Weird thing: I acually get my PHP echoed, but I get two HTML doctypes (the
same one...).
--
Kind regards,
magoo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php