Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    [m]
    [m] is offline
    New Coder
    Join Date
    Nov 2002
    Location
    Virginia, USA
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts

    is it possable to make a web-based chat useing php?

    is it possable to make a web-based chat? if so how would I do it. if not what do I use?I am kinda limited to php . if it is possable then what will I need to get started and where do I start. I know a little php ... anything I need I will learn. the concept I have is that something will allow client side to communicate with client side. and also client to server. if you could give me any info I would be really happy. I don't wanna have to use java or flash or anything like that. if it can't be done in just php alone then I will do it another way but I would really like to keep it to php...but I don't have to

    thanx . mike
    .:mike:.

    I'm a newbie

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    client to client with PHP ? I don't think that is possible. PHP is serversided so it will be at least client-server, where all clients get the same info.
    you could simulate something like a chatbox, by having the client reload the pages (with javascript for instance) with a really short interval, but this will be a bandwith eater.
    Without auto-reload, the clients will need to constantly refresh the pages

    I think you need to look into IRC-channels and maybe wrap some PHP around it. You migth want to check out :
    http://phpclasses.moveit.be/browse.h...kage/1309.html


  •  

    Posting Permissions

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