Hi Guys,
I am using ajax and php to update the contents of web pages.
the process is like this
user fill the information in the <input>
when the update button click, it fires the js to get the filled information by getElementById(id of input). then the js will make these pieces of information together to a new url, let's say: var url =update.php?action=update&name=name&password=password. then pass this url to the ajax function, e.g. http_request.open('GET', url, true);. and the update.php will receive these data by access the vars $action, $name, $password, and do the certain process. I tested this in local machine and within the LAN. Everything works perfectly. but after i have uploaded files into the remote web server. problem comes. the update.php cannot get the data by using the $action, $name, $password. the data is missing. anybody knows why?
I am using ajax and php to update the contents of web pages.
the process is like this
user fill the information in the <input>
when the update button click, it fires the js to get the filled information by getElementById(id of input). then the js will make these pieces of information together to a new url, let's say: var url =update.php?action=update&name=name&password=password. then pass this url to the ajax function, e.g. http_request.open('GET', url, true);. and the update.php will receive these data by access the vars $action, $name, $password, and do the certain process. I tested this in local machine and within the LAN. Everything works perfectly. but after i have uploaded files into the remote web server. problem comes. the update.php cannot get the data by using the $action, $name, $password. the data is missing. anybody knows why?