views:

33

answers:

0

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

The user sends 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?