<?php
header('Access-Control-Allow-Origin: *');
$headers = "From: from@webhookservesite.com";
/* change this sample email address to the valid email that you would like to receive letters from */
$message = print_r($_POST,true);
@mail('to@mail.com', 'Tilda TEST', $message, $headers);
/* change this sample email address to the valid email that you would like to receive submissions to */
echo"ok";
?>
Eメール=test%40email.com
名前=テスト+名前
電話番号=0123456789
コメント=例+コメント
セレクトボックス=赤
チェックボックス=はい
日付=2017年3月25日
時間=17%3A59
数量=124
URL=ウェブサイト
<?php
header('Access-Control-Allow-Origin: *');
$headers = "From: from@webhookservesite.ru";
$message = "";
foreach($_POST as $key => $value) {
if($key == "Date") {
$message .= "Hotel check out date";
} else {
$message .= $key;
}
$message .= ": " . $value . "\n";
}
$message = print_r($message, true);
@mail('to@mail.com', 'Tilda TEST', $message, $headers);
echo "ok";
?>
customnamefield=黄色
tranid=467251%3A8442970
フォームID=form48844953
COOKIES=_ga%3DGA1.2.1861016115.1519204131%3B+_ym_uid%3D2021810468765220932
COOKIES=TILDAUTM%3Dutm_source%253Dyandex%257C%257C%257Cutm_medium%253Dcpc%257C%257C%257Cutm_campaign%253Dpromo%257C%257C%257Cutm_content%253Dblocktext%257C%257C%257Cutm_term%253Dpoisk%257C%257C%257C