title: jquery ajax => Undefined index php
body: <p>i have problem with php.</p>
  
  <p>AJAX</p>
  
  <pre><code>    $(document).ready(function(){
  
  $.ajax({
    type: "POST", // i test post, get...
    url:'TESTING.php', 
    data: {name: "alfred"},
    success: function(){  
        alert("success"); // it show "success" !... :/
      } 
  });
  });
  </code></pre>
  
  <p>And php</p>
  
  <pre><code>&lt;?php 
  //var_dump($_POST); array is empty
  $name = $_POST['name']; // error line
  echo $name;
  ?&gt;
  </code></pre>
  
  <p>I test it on Localhost (if it is the problem). And i dont know, where is mistake.
  Thanks for any help</p>