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