Re: Please help!!! Trying to write some chat script!
| From: | nico_oreka | Date: | Thu, 20 Sep 2001 07:01:43 +0000 |
| Subject: | Re: Please help!!! Trying to write some chat script! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67947@lists.php.net to get a copy of this message | ||
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,
//\ Nayco@netcourrier.com
v_/_ http://nayco.free.fr
----- Original Message -----
From: Sheridan Saint-Michel <webmaster@foxjet.com>
To: Diadon <diadon@dontek.ru>; <php-general@lists.php.net>
Sent: Wednesday, September 19, 2001 6:27 PM
Subject: Re: [PHP] Please help!!! Trying to write some chat script!
> There actually isn't much technology in a chat room. It is a fairly
simple
> program.
>
> Basically you have a webpage which checks <Someplace> retrieves all
> the messages from <Someplace> and prints them, then provides a place
> for the user to enter stuff into <Someplace>.
>
> <Someplace> can be any number of things such as a flat file, or a MySQL
> database table. Basically anywhere you can stick stuff and anyone can
> retrieve it.
>
> The only thing left, then, is to update the page with new entries from
time
> to
> time. While Netscape makes this easy with server push, you are probably
> going to want something like a Meta Refresh so the IE people can use the
> chat too.
>
> You probably also want to put the form for entering new messages in its
own
> frame so that someone isn't halfway through writing a message when the
whole
> thing refreshes.
>
> That's pretty much it. If you have any specific questions let me know.
>
> Sheridan Saint-Michel
> Website Administrator
> FoxJet, an ITW Company
> www.foxjet.com
>
>
> ----- Original Message -----
> From: "Diadon" <diadon@dontek.ru>
> To: <php-general@lists.php.net>
> Sent: Wednesday, September 19, 2001 10:54 AM
> Subject: [PHP] Please help!!! Trying to write some chat script!
>
>
> > Hi!
> > Where are can read some information (not examples scripts) about chat
> > technologies?
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>