summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]networking/httpd_post_upload.cgi (renamed from networking/httpd_post_upload.txt)20
1 files changed, 7 insertions, 13 deletions
diff --git a/networking/httpd_post_upload.txt b/networking/httpd_post_upload.cgi
index 9d504f4..e4ffd2b 100644..100755
--- a/networking/httpd_post_upload.txt
+++ b/networking/httpd_post_upload.cgi
@@ -1,18 +1,12 @@
-POST upload example:
-
-post_upload.htm
-===============
-<html>
-<body>
-<form action=/cgi-bin/post_upload.cgi method=post enctype=multipart/form-data>
-File to upload: <input type=file name=file1> <input type=submit>
-</form>
-
-
-post_upload.cgi
-===============
#!/bin/sh
+# post_upload.htm example:
+# <html>
+# <body>
+# <form action=/cgi-bin/httpd_post_upload.cgi method=post enctype=multipart/form-data>
+# File to upload: <input type=file name=file1> <input type=submit>
+# </form>
+
# POST upload format:
# -----------------------------29995809218093749221856446032^M
# Content-Disposition: form-data; name="file1"; filename="..."^M