开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜