CGI Debugger v1.0 from The Complete Webmaster - written by Doug Steinwand

Environment Variables

CONTENT_LENGTH"396"
CONTENT_TYPE"multipart/form-data; boundary=---------------------------114257193111984516691536268718"
DOCUMENT_ROOT"/home/httpd/html"
GATEWAY_INTERFACE"CGI/1.1"
HTTP_ACCEPT"image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*"
HTTP_ACCEPT_CHARSET"iso-8859-1,*,utf-8"
HTTP_ACCEPT_LANGUAGE"en"
HTTP_CONNECTION"Keep-Alive"
HTTP_HOST"localhost"
HTTP_REFERER"http://localhost/fup.html"
HTTP_USER_AGENT"Mozilla/4.04 [en] (X11; U; Linux 2.0.30 i586)"
PATH"/sbin:/usr/sbin:/bin:/usr/bin"
QUERY_STRING""
REMOTE_ADDR"127.0.0.1"
REMOTE_HOST"localhost"
REQUEST_METHOD"POST"
SCRIPT_FILENAME"/home/httpd/cgi-bin/upload.pl"
SCRIPT_NAME"/cgi-bin/upload.pl"
SERVER_ADMIN"root@localhost"
SERVER_NAME"localhost.localdomain"
SERVER_PORT"80"
SERVER_PROTOCOL"HTTP/1.0"
SERVER_SOFTWARE"Apache/1.1.3"

Script "upload.pl"

Current directory: /extra/ov/httpd/cgi-bin
Output from /home/httpd/cgi-bin/upload.pl (PID 1663):
Content-type: text/plain

-----------------------------114257193111984516691536268718
Content-Disposition: form-data; name="upfile"; filename="demo"

This is the file
This is the file, line two
..last line of file

-----------------------------114257193111984516691536268718
Content-Disposition: form-data; name="note"

this is a note about the file.
-----------------------------114257193111984516691536268718--

Script finished Fri Dec 19 21:08:40 1997