Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to create simple Chat page using PHP

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 10-09-2009
Member
 
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..

Reply With Quote
  #2  
Old 10-09-2009
Member
 
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.
Reply With Quote
  #3  
Old 10-09-2009
Member
 
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).
Reply With Quote
  #4  
Old 10-09-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to create simple Chat page using PHP"
Thread Thread Starter Forum Replies Last Post
How to create a simple widget for Android Devices Jits Software Development 7 30-03-2013 06:56 PM
Disable screen page turning on NOOK simple touch klinsmann Ebooks 2 10-08-2012 06:29 PM
How to create a simple logo in Illustrator Tool L 4 Life Windows Software 4 17-01-2011 07:01 AM
How to create video as well as what software is simple to utilize chyarte Windows Software 3 15-01-2011 06:23 PM
How to create Login System for Simple Website StudyBoy Software Development 5 27-07-2010 05:10 PM


All times are GMT +5.5. The time now is 09:58 AM.