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