i have created simple live chat room
it litterally nothing more text box, submit button , area of page displays live chat
when submit button pressed xmlhttprequest object sends content of input box seperate php script , waits reply.
the php script reads text file , stores whole content of file in variable
it adds message user submitted end of string stored in variable
the full message in variable written text file , submitted xmlhttprequest object
when page recieves reply updates content of chat window
this of course simple, show way in live chat room can created
is there anyway done without use of text file
that there way can sent directly every person on page without storing messages in file on server browsers request @ times.
More discussions in Develop server-side applications in Dreamweaver
adobe
Comments
Post a Comment