Help! I Search A Text Viewer Chatbox From .txt File


I develeop yii project. I need text viewer module on a index. Text viewer module takes datas on .txt file and shows on index. It’s look like a Chatbox but Guests can’t allow writing and send a date.Guests can just see the massege on this box. This box shows date in .txt file.Could you help me? How can I make this box?