Tests: initial PHP application tests.
This commit is contained in:
6
test/php/post_variables/index.php
Normal file
6
test/php/post_variables/index.php
Normal file
@@ -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']));
|
||||
?>
|
||||
Reference in New Issue
Block a user