View Full Version : PHP Chat Server
Ubuntu
15-08-2010, 10:51 AM
find it here (http://www.notjewish.me/server.txt)
Put into server.php
Type "./server.php" in command line.
Telnet to 9090 on your server (with PuTTY or something).
Enjoy.
NICK name (Changes nick)
JOIN channel (Joins channel)
USERS no syntax (Lists server users)
QUIT no syntax (disconnect from server)
You probably want to write a windows client for this if you want to use it, since telnet is pretty crap and it can be made much better looking with a real client.
May not appeal to many people, and probably is pretty crap, but i thought i might as well release it.
PatrickMS
16-08-2010, 02:39 PM
lol, that's actually not bad :p
Not too sure about the telnet part, as it's known for not being secure, but don't see why you couldn't make a client interface :D
Ubuntu
16-08-2010, 08:50 PM
UPDATE
Added : Privs - Currently only User and SYSOP priv. And the data is stored in .user files. This will be cleaned up when its moved over to ini/SQL (not decided yet).
Added : AUTH - Get a client to send AUTH on connect and it will promote the user with their correct privs. I could possibly make this give privs automatically, but its safer this way.
Fixed : USERS - Fixed some things.
And yeah, i said, make a client because telnet is crappy and insecure. But im no good with windows programming so i cant :P
MattFr
16-08-2010, 10:48 PM
Nice contribution, but from experience PHP CLI socket servers aren't useful for anything but testing multiuser connections, which can be done possibly much easier in programs like Socket Workbench. Although what you have done is good, there's probably not much point adding much more to it :)
Ubuntu
16-08-2010, 11:46 PM
Nice contribution, but from experience PHP CLI socket servers aren't useful for anything but testing multiuser connections, which can be done possibly much easier in programs like Socket Workbench. Although what you have done is good, there's probably not much point adding much more to it :)
Tis just something to pass time, really. And other people could possibly benefit/learn from the source. Im interested to see how far i can go with it.
MattFr
16-08-2010, 11:50 PM
Tis just something to pass time, really. And other people could possibly benefit/learn from the source. Im interested to see how far i can go with it.
Good work then dude, keep it up :)
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.