summaryrefslogtreecommitdiffhomepage
path: root/test/php/post_variables/index.php
blob: 5ea17324e5206b3fc68a26bac1580f2e3746e4ad (plain) (blame)
1
2
3
4
5
6
<?php
header('Content-Length: 0');
header('X-Var-1: ' . $_POST['var1']);
header('X-Var-2: ' . $_POST['var2'] . isset($_POST['var2']));
header('X-Var-3: ' . $_POST['var3'] . isset($_POST['var3']));
?>