// You can access the values posted by jQuery.ajax // through the global variable $_POST, like this: $bar = isset($_POST['bar']) ? $_POST['bar'] : null;