I use the jquery $.post function to post to my local server. It posts correctly and I see the value inside the $\_POST array. But when I upload the same code online on a website, the $\_POST returns empty. Somehow the **'name'** var is not even being sent over? What am I missing? 

Heres the jquery/javascript side:

```js
$("#box").keyup(function( event ) {
  //Simple test to see if it gets to the
  //file.
  $.post( "test-file.php", { name:"John"},       function() {
      alert( "success" );
    })
    .done(function(data) {
      //Checking the respones from the file
      alert( "second success: "+data );
    })
    .fail(function() {
      alert( "error" );
    })
    .always(function() {
      alert( "finished" );
  });

});
```

Heres what the test-file.php file does:

```js
<?php

//Checking to see if I get to the
//file
echo "TEST:";

//Checking to see whats inside the post
var_dump($_POST);

?>
```