I have a simple php user profile system that works like this: When user is registered he gets a specific url ?user
. Therefore, other visitors can access his page.
What I want it to include chat application on users profile pages. But, every single user should have its own chat. Which approach is the best, as I am a beginner in this? Should I put the messages from chat into the database or should I work with some log.txt files?
Any good tutorial for this would be helpful.