Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 6 of 6

Thread: PHP Chat Server

  1. #1
    Join Date
    Jul 2010
    Posts
    7
    Tokens
    0

    Default PHP Chat Server

    find it here

    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.

  2. #2
    Join Date
    Feb 2009
    Posts
    166
    Tokens
    0

    Default

    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
    The sky is the limit, but you can touch the moon if you try.

    Zimbu Gaming || The way games should be played!

  3. #3
    Join Date
    Jul 2010
    Posts
    7
    Tokens
    0

    Default

    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

  4. #4
    Join Date
    Nov 2008
    Location
    Cambridge, UK
    Posts
    901
    Tokens
    100

    Default

    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
    we're smiling but we're close to tears, even after all these years

  5. #5
    Join Date
    Jul 2010
    Posts
    7
    Tokens
    0

    Default

    Quote Originally Posted by MattFr View Post
    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.

  6. #6
    Join Date
    Nov 2008
    Location
    Cambridge, UK
    Posts
    901
    Tokens
    100

    Default

    Quote Originally Posted by Ubuntu View Post
    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
    we're smiling but we're close to tears, even after all these years

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •