javascript - XDomainRequest post data not displaying -


i can't post data trough internet explorer xdomainrequest. nothing showing up..

i created fiddle

parim.ee/test.php prints out $_post , $_request variable so:

header('access-control-allow-origin: *', true); header("access-control-allow-headers: *", true);  echo "var_export(\$_post):\n"; var_export($_post);  echo "\n\n";  echo "var_export(\$_request):\n"; var_export($_request); 

found solution:

instead of using $_post have use $http_raw_post_data.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

java - How to create Table using Apache PDFBox -

mpi - Why is MPI_Bsend not returning error even when the buffer is insufficient to accommodate all the messages -