diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-05-22 20:20:14 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-05-22 20:20:14 +0300 |
commit | 3b7238996ad68f3c56a031e72e0b2f9aa0c8662c (patch) | |
tree | b491b30834997e406d6139aaf39d7bc6140d7f30 /test/php/post_variables | |
parent | 7d224bfc9e39cb7885885bb554ca21ab26f5ddd0 (diff) | |
download | unit-3b7238996ad68f3c56a031e72e0b2f9aa0c8662c.tar.gz unit-3b7238996ad68f3c56a031e72e0b2f9aa0c8662c.tar.bz2 |
Tests: initial PHP application tests.
Diffstat (limited to 'test/php/post_variables')
-rw-r--r-- | test/php/post_variables/index.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/php/post_variables/index.php b/test/php/post_variables/index.php new file mode 100644 index 00000000..5ea17324 --- /dev/null +++ b/test/php/post_variables/index.php @@ -0,0 +1,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'])); +?> |