# Php - flash chat system

**URL:** <https://forum.kirupa.com/t/php-flash-chat-system/116359>\
**Category:** Uncategorized\
**Created:** [July 16, 2004, 10:33pm UTC](https://forum.kirupa.com/t/php-flash-chat-system/116359 "2004-07-16T22:33:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mister\_B](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@Mister\_B](https://forum.kirupa.com/u/Mister_B)\
**Post date:** [July 16, 2004, 10:33pm UTC](https://forum.kirupa.com/t/php-flash-chat-system/116359/1 "2004-07-16T22:33:43Z")

</div>

[font=verdana, arial, helvetica][size=2]I have attempted this several times. And once I even got it working… sort of. But, I think the basic problem isn’t the coding, it is the logic. Here is a brief sinapsis of the logic I used:  
**Step one: When a user logs in, write to .txt document “print=so and so logged in & time=04:20:48”  
Step two: Wait 2 seconds query .txt document, get all info after when so and so logged in, and display in text box.  
Step three: When a user posts a message, write “print=so and so said: such and such & time=04:23:50”.**  
Now of course those times ar just made up. How would you recomend I should re-think my logic to be faster, and more user friendly.

Thank you in advance.  
-Mister B.[/size][/font]
