![]() |
PHP and Ajax POST Request
I am trying to send a post request to PHP with Ajax. But, I never get the data with $_POST command. I am wondering what is going on. The code i used is below:
.html -------------------------------- HTML Code:
|
Re: PHP and Ajax POST Request
Practically there is no need to set the request header, and if you set it should look like this
Code: JavaScript
|
Re: PHP and Ajax POST Request
Thank, it works!!!!! :D it dose not work with the header i used or without header.
|
Re: PHP and Ajax POST Request
Use Prototype JS, http://www.go4expert.com/showthread.php?t=5541
|
| All times are GMT +5.5. The time now is 15:16. |