Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

displaying text file content

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi i'm sure this has come up and real simple for the majority of you. Basically what I need todo is write a script which displays the content from a text file in a php file and then format the text tobe size 8 verdan font. Sorry to bring this up it's just I couldn't find it in the php.net manual and I couldn't find it when I searched.

Many thanx
 
How 'bout:

[tt]
Code:
<html>
<style>
        pre
        {
                font-family: verdana, sans-serif;
                font-size: 8pt;
        }
</style>
<body><pre>

<?php

include (&quot;foo.txt&quot;);

?>

</pre>
</body></html>
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top