You can use a flat file and work around problems like you described by using
flock, for example.  I do agree a DB is the best way to go 99.9% of the time
though.  I just wanted to give an overview of that covered most of the
possible
ways to write a chat room.

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com


----- Original Message -----
From: "nico_oreka" <[EMAIL PROTECTED]>
To: "Sheridan Saint-Michel" <[EMAIL PROTECTED]>; "Diadon"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 2:01 AM
Subject: Re: [PHP] Please help!!! Trying to write some chat script!


> I made a chatboard script that i use on two websites (http://nayco.free.fr
,
> http://luxregina.free.fr )
> One thing important to know is that you MUST NOT use a text file : When
two
> people write together, messages are scrambled and the script displays
wierd
> things ....
> ----> use SQL, as it's faster, easier to use, and has got no 'lock'
problem
> ...
>
> If you want my script ..... tell me !!
>
>
>     (°-        Nayco,
>     //\        [EMAIL PROTECTED]
>     v_/_     http://nayco.free.fr


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to