Re: Re[2]: [PHP] Please help!!! Trying to write some chat script!
| From: | Emile Bosch | Date: | Wed, 19 Sep 2001 22:18:01 +0000 |
| Subject: | Re: Re[2]: [PHP] Please help!!! Trying to write some chat script! | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67908@lists.php.net to get a copy of this message | ||
for the interaction and performance of a chat room i would choose for java,
php is stateless and therefore it's not easy to see when a user is logged in
or out or anything like that..
with the help of JAVA it's possible to build fairly easy an client and a
server class which does the communication for you.. PHP is not really the
thing to build chat appplications in..
"Diadon" <diadon@dontek.ru> schreef in bericht
news:13615087051.20010919210423@dontek.ru...
> Please, tell me how to secure chat system, using login and password
> in the hidden input of frame or using sessions?
>
>
> > 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
>
>