more tests on cgi

This commit is contained in:
hugogogo
2022-07-28 17:27:03 +02:00
parent 8477669e6f
commit e6ec3fe97b
10 changed files with 104 additions and 338 deletions

View File

@@ -1,7 +1,9 @@
#! /usr/bin/php
# <?php phpinfo(); ?>
<?php
echo "BEGIN PHP-CGI\n-----------\n\n";
//phpinfo();
echo getenv('REQUEST_METHOD');
echo $_POST['REQUEST_METHOD'];
//echo $_POST['REQUEST_METHOD'];
echo "\n\n-----------\nEND PHP-CGI\n\n";
?>