Chat Application Tutorial Part 1

Published :
Author :
Adam Khoury
In this 4 part lesson series we will be creating a real time flash chat application with a little help from PHP and MySQL. Since AS3 has timer functions we can make flash check for new chat posts at any interval we like. 30 seconds, 5 seconds, etc... If it finds a new post it repopulates the chat window with the new data. This is needed so everybody chatting sees the most up to date data in the chat window. PHP picks up the posted variables. We also will grab user IP addresses so you can write IP block mechanisms. User IP, Name, Chat, and Date/Time will be sent to our mysql dataqbase table.