<?php
print($jsonData);
?>
<?php
print($jsonData);
?>
<?php
print json_decode(file_get_contents('php://input'), true)['name'];
print json_decode(file_get_contents('php://input'), true)['email'];
print json_decode(file_get_contents('php://input'), true)['phone'];
die();
?>
const formData = new FormData(this.$refs.form);
axios({
method: 'post',
url: 'http://appvue.pickstyle.ru/static/lib/phpfile.php',
data: formData,
config: { headers: {'Content-Type': 'multipart/form-data' }}
})
const formData = new FormData(this.$refs.form);
axios({
method: 'post',
url: 'send.php',
data: formData,
config: { headers: {'Content-Type': 'multipart/form-data' }}
})
$name = $_POST["name"];