Since 000webhost blocks text files for security reasons, I have decide to post this simple php script that will read txt files and output as html. It’s also a good script to use if you manage a few websites that share common data such as contact info, links, etc. You then only have to edit one text file for “global” changes.
Might have to chmod txt file, I use 777.
<?php $content = file("file.txt"); $data = implode("<br>",$content); echo $data; ?>