Chat with sluts no aign up - Updating phpchat
So, I am making live web chat (file based), soo I got this file chat_log.txt, when I read that file in php I must always refresh to get chat_content.
I need my code to be dynamic and update itself soo it can get chat_log content live.
Some Web based chat applications are a bit annoying, as they require frequent page reloading to update and display the messages that the users exchange.
Nowadays, using AJAX is an obvious approach to avoid unwanted page reloads.
When we are trying to get State, the text file is read and the number of lines in returned.