xref: /unit/test/php/get_variables/index.php (revision 1636:979d2b72930b)
1675Szelenkov@nginx.com<?php
2675Szelenkov@nginx.comheader('Content-Length: 0');
3675Szelenkov@nginx.comheader('X-Var-1: ' . $_GET['var1']);
4*1636Svbart@nginx.comheader('X-Var-2: ' . (isset($_GET['var2']) ? $_GET['var2'] : 'not set'));
5*1636Svbart@nginx.comheader('X-Var-3: ' . (isset($_GET['var3']) ? $_GET['var3'] : 'not set'));
6*1636Svbart@nginx.comheader('X-Var-4: ' . (isset($_GET['var4']) ? $_GET['var4'] : 'not set'));
7675Szelenkov@nginx.com?>
8