Why is the $_REQUEST super global not populating on ajax requests in Ubuntu with

Serendipity

New member
php5 and apache2? It is working fine on normal page submissions, but when i send a request via ajax for some reason the values get stripped out.

Using Firebug i can see that the $_POST is correctly populated, but when i do a var_dump in the ajax PHP file, i get an empty array.

Note: this script worked perfectly in windows, and everything else appears to be running fine.
Thank you :)
*edit*
thx 4 answering,
the $_REQUEST super global holds the $_POST and $_GET values. By using $_REQUEST you can use either GET or POST without having to alter your code.

My problem is that the page is submitting the values to POST correctly, but when I do a var_dump the $_POST array is empty.
As I said previously, this works fine in windows.
I did try a different script that works the same way (uploading images) and it works fine. So there is something screwy going on. Maybe an Apache setting???
 
Back
Top