# Php - flash chat system

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 19, 2004, 7:31pm UTC](https://forum.kirupa.com/t/php-flash-chat-system/57867/2 "2004-07-19T19:31:38Z")

</div>

noone can help me?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 19, 2004, 7:37pm UTC](https://forum.kirupa.com/t/php-flash-chat-system/57867/3 "2004-07-19T19:37:49Z")

</div>

the logic seems to make sense, but what’s happening when you try this?
