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