开发者

Listen for file events in PHP - sort of like select() works in UNIX

开发者 https://www.devze.com 2023-01-18 18:24 出处:网络
I\'m implementing a small chat system for my website. The user se开发者_开发知识库nds a message to a PHP webpage... on the server this data is saved to a simple file. I read the file and WRITE some o

I'm implementing a small chat system for my website.

The user se开发者_开发知识库nds a message to a PHP webpage... on the server this data is saved to a simple file. I read the file and WRITE some other message.

At this point I want the php web process to display the file change to the user.

So how do I listen for file change with PHP?

0

精彩评论

暂无评论...
验证码 换一张
取 消