var name ="Гриша";
$.ajax({
method: "POST",
url: "appget.php",
data: {name:name},
success: function (data) {
console.info(data)
}
});
var_dump($_POST);
array(1) {
["name"]=>
string(10) "Гриша"
}
success: function (data) { }