This commit is contained in:
2024-02-29 12:07:58 +03:00
commit a93d795449
7 changed files with 2819 additions and 0 deletions

11
cgi-bin/upload.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
printf "Content-type: text/plain\n\n"
if [ "$REQUEST_METHOD" = "POST" ]; then
if [ "$CONTENT_LENGTH" -gt 0 ]; then
if [ "$CONTENT_LENGTH" -lt 131072 ]; then
read -n $CONTENT_LENGTH POST_DATA <&0
echo "${POST_DATA//!custom_newline!/$'\n'}" >> ../html/fdb/upload.csv
fi
fi
fi
exit