So I'm just getting into ajax. I've got a form that runs a ajax script that sends a request to the login.php. But for some odd reason the login.php file isint reading the Post ids right. Is there any way to fix this?
Printable View
So I'm just getting into ajax. I've got a form that runs a ajax script that sends a request to the login.php. But for some odd reason the login.php file isint reading the Post ids right. Is there any way to fix this?
That's not specific enough to have us help you.
If Im not wrong, when using ajax, you dont use $_POST, but $_REQUEST.
You're wrong :rolleyes:
Actually, partially. An XML HTTP request can be made through both GET and POST. $_REQUEST contains both of those (as well as $_COOKIE).
I agree with Wh005h though, this is by far too non-specific a question. What do you mean by "Post ids" and "not reading them right"? And how are you testing this?
Sorry guys and gals, I fixed this error. It was out of my own stupidity. Forgot to send the posted data.