When I Implemented chatting Function , I use Ajax to send messages between file to another.
It works on localhost but not on the remote server.
Can you tell me why? Does Ajax need Special configuration?
The files:
Ajax .js file witch has "ajax_send" function that i used in chatbox.js file
chatbox.js file wich consest of functions i used it to send data from php file to another one and it display the state (any user sign in or new sending message and so on ..)
user.php file whitch responseble to write user name in the text file usersonline.txt and then display the online users in the online users column.
send.php file that write on room1.text
recive.php file that read room1.txt and then write the content into the chat box
I beleve that the problem comes from the ajax code in Ajax.js File