conclusion, no real php cgi

This commit is contained in:
Eric LAZO
2022-08-17 17:59:53 +02:00
parent b45ed52a2a
commit 4fdbb1e0eb
8 changed files with 130 additions and 42 deletions

10
srcs/cgi-bin/tmp.php Executable file
View File

@@ -0,0 +1,10 @@
#! /usr/bin/php
<?php
if(isset($_FILE["fileToUpload"]))
echo "there is a file";
else
echo "\n\nHeader: something\r\n\r\nno file\r\n";
?>