Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Super Strange PHP problem.

Status
Not open for further replies.

zyzjacky

Programmer
Jan 19, 2006
76
MT
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top