Results 1 to 4 of 4

Thread: How to create simple Chat page using PHP

  1. #1
    Join Date
    Feb 2009
    Posts
    66

    How to create simple Chat page using PHP

    Is it possible to create the simple chat page using php, my friend has created the same, he has also told me the logic about how to create it, but I remembered it only for time being, I also have search for that on the net but end up with nothing...If anyone here has any suggestions regarding it please let me know..

  2. #2
    Join Date
    Oct 2008
    Posts
    167

    Re: How to create simple Chat page using PHP

    If you want to create chat then we need to make one .txt file. You need to make some changes in the text file so you may open it in write mode then write something in message box that will written in that file.. First of all we have to make one .txt file. Then open it in write mode then write something in message box that will written in that file, the another user also open that file and write the file with the message box. Also open the file in read mod in side window to see what the another user is write ...IN this way we can make simple chat file with PHP.

  3. #3
    Join Date
    Feb 2006
    Posts
    172

    Re: How to create simple Chat page using PHP

    If you've got a nothing-shared architecture like mod_php/cgi in the backend, you definitley need some kind of external storage like databases or textfiles. Also open the file in read mod in side window to see what the another user is write ...IN this way we can make simple chat file with php but: you could rely on memory by writing your own http server. There is a php chat program which you can set up for your site under your cpanel (I believe it's called phpmychat).

  4. #4
    Join Date
    Feb 2008
    Posts
    121

    Re: How to create simple Chat page using PHP

    In my experience, Java is better suited for this task. Hotscripts.com has many Java applets and servlets. In theory you can do this by storing the "log" of chats in a text file on the server, and changing your page so that the user does a GET request on the chat. I have not personally used PHP for a live chat system. - and I'm sure there's one that would suit your site well. php page, but the PHP page never actually finishes sending back to the user.

Similar Threads

  1. How to create a simple widget for Android Devices
    By Jits in forum Software Development
    Replies: 7
    Last Post: 30-03-2013, 06:56 PM
  2. Replies: 2
    Last Post: 10-08-2012, 06:29 PM
  3. How to create a simple logo in Illustrator Tool
    By L 4 Life in forum Windows Software
    Replies: 4
    Last Post: 17-01-2011, 08:01 AM
  4. Replies: 3
    Last Post: 15-01-2011, 07:23 PM
  5. How to create Login System for Simple Website
    By StudyBoy in forum Software Development
    Replies: 5
    Last Post: 27-07-2010, 05:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,528,397.14962 seconds with 17 queries