adding first tests with cgi
This commit is contained in:
7
srcs/cgi-bin/php-cgi
Executable file
7
srcs/cgi-bin/php-cgi
Executable file
@@ -0,0 +1,7 @@
|
||||
#! /usr/bin/php
|
||||
|
||||
# <?php phpinfo(); ?>
|
||||
<?php
|
||||
echo getenv('REQUEST_METHOD');
|
||||
echo $_POST['REQUEST_METHOD'];
|
||||
?>
|
||||
Reference in New Issue
Block a user