try _REQUEST['aa'] and see if is data is not empty
----- Original Message ----- From: "atur" <armand.tur...@googlemail.com>
To: "jQuery (English)" <jquery-en@googlegroups.com> Sent: Wednesday, September 09, 2009 3:48 AM Subject: [jQuery] $.post - post array is empty
Hi, I stick on a wired ajax problem. The following code works on my local machine. But when i replace the post url to an other server the _POST array is empty. I tried different clients, servers and browsers. $.get (... works fine. <script type="text/javascript"> <!-- $(document).ready(function(){ $.post('http://127.0.0.1/test2.php',{ aa: 'xxx',bb: 'yyy'}); }); //--> </script>