文本文件中的新条目

I have created a chat website that people can send each other private messages. However, I could not figure out how to detect new entry in a specified text file.

In my website, every user has a text file in their own name and specific url address such as chat.php?name=asd(user's name is asd). tIf other user eners that link and writes something, the new entry writes it in asd.txt without errors. However, the user "asd" is not aware that he has a message. How can i inform him that he has a message. This feature i am trying to add is exactly like facebook informs the users that they have a message to read. Thanks

查看全部
weixin_33738982
?Briella
2013/02/01 19:42
  • php
  • ajax
  • 点赞
  • 收藏
  • 回答
    私信

1个回复