Server Help

General Questions - PHP Chat Client - Let me know what you think.

Anonymous - Tue Dec 06, 2005 7:32 pm
Post subject: PHP Chat Client - Let me know what you think.
I started a php chatnet client this afternoon for a linux cosole based solution. Wondering if anyone else would like this? Its pretty basic, arena names have to be requested by command along with arena list, but very good for just getting on arenas and talking. Could probably make a front end for it to integrate it with html for an on-line chat environment.
phong - Tue Dec 06, 2005 7:33 pm
Post subject:
I always forget you can post as a guest here vs. kicking you out to a login screen icon_sad.gif
Donkano - Tue Dec 06, 2005 9:12 pm
Post subject: Re: PHP Chat Client - Let me know what you think.
Anonymous wrote:
I started a php chatnet client this afternoon for a linux cosole based solution. Wondering if anyone else would like this? Its pretty basic, arena names have to be requested by command along with arena list, but very good for just getting on arenas and talking. Could probably make a front end for it to integrate it with html for an on-line chat environment.


But how would you send the specific packets for entering?

fsockopen() would be the 1st step, but after you conenct you have to enter.
Anonymous - Tue Dec 06, 2005 10:27 pm
Post subject:
yea thats where im currently stuck. I can you stdin for input, but the incoming data from ther server is halted until you hit enter.. so if you talked real fast it would stay up to date icon_smile.gif
Donkano - Tue Dec 06, 2005 11:08 pm
Post subject:
The guys on irc.freenode.net in the channel ##php might have a solution to this.
Anonymous - Tue Dec 06, 2005 11:14 pm
Post subject:
yea i was there already and tried.. pretty much no conclusion on input.. but hey if all you want to do is see whats going on it works great icon_smile.gif
Solo Ace - Wed Dec 07, 2005 2:33 am
Post subject:
I'm not sure why you would want to do this when there's grelminar's ccc, but if you really want to I guess it not a bad idea to try.

I wouldn't pick PHP for it, but if it floats your boat...

Donkano, he would just send LOGIN:1;<client>:<name>:<password> and GO:<arena>?
Bak - Wed Dec 07, 2005 3:12 am
Post subject:
ccc uses curses, which doesn't have a windows port.
Solo Ace - Wed Dec 07, 2005 3:14 am
Post subject:
Indeed, which is a problem a few people faced already, but this idea is for Linux anyway, so does that even matter?
Bak - Wed Dec 07, 2005 9:04 am
Post subject:
Well the proposed on-line chat environment would be platform independent, although for his linux chat client you are right.
phong - Wed Dec 07, 2005 1:24 pm
Post subject:
Interesting, ill look into it some more.. What I may end up trying is making a second script, basically a local input server (would listen on loopback), hmmm
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group