adding first tests with cgi

This commit is contained in:
hugogogo
2022-07-27 20:47:13 +02:00
parent d4a14798f4
commit 8477669e6f
9 changed files with 146 additions and 14 deletions

7
srcs/cgi-bin/php-cgi Executable file
View File

@@ -0,0 +1,7 @@
#! /usr/bin/php
# <?php phpinfo(); ?>
<?php
echo getenv('REQUEST_METHOD');
echo $_POST['REQUEST_METHOD'];
?>