* Thus wrote Jerry Swanson: > I want to output html file on the screen like text not like html file. > I want a program to read html file and output source code to the screen. > > Any ideas how to fake browser, so browser will print html tags on the screen? By default php will send a header: Content-Type: text/html; charset=iso-8859-1 To the browser, so it will render the contents as html. You can override that by using the header() function sending: Content-Type: text/plain; charset=iso-8859-1 Then you can display html and the html will get displayed as if you were looking at it in notepad. Curt -- Quoth the Raven, "Nevermore." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php