problem with ajax on the hosting server
Posted
by nelly
on Stack Overflow
See other posts from Stack Overflow
or by nelly
Published on 2010-06-08T07:59:41Z
Indexed on
2010/06/08
8:02 UTC
Read the original article
Hit count: 406
when I Implemented chatting Function , I use Ajax to send messages between file to another .
so , it is working well on local host .
but , when I upload it in to remote server it doesn't work.
can U tell me ,why ? is an Ajax need Special configuration ?
there is my files that I used :
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
so please help me find out the problem and how to solve it.
is ajax needs special server settings ?
because it was working at the local host !
© Stack Overflow or respective owner