home *** CD-ROM | disk | FTP | other *** search
- rem
- rem ****************
- rem * TEST-CGI.BAT *
- rem ****************
- rem
- rem Test script for use with CGI example document included
- rem with server documentation. Blank line REQUIRED after
- rem Content-type header!
- rem
- rem Bob Denny <rdenny@netcom.com>
- rem 12-Apr-94
- rem
- rem Echo is OFF at script entry
- rem
- echo Content-type:text/plain
- echo.
- echo CGI/1.0 test script report:
- echo.
- echo argc = %# argv:
- echo.
- if NOT %#==0 echo %1 %2 %3 %4 %5 %6 %7 %8
- if %#==0 echo {empty}
- echo.
- echo environment variables:
- echo.
- set
- echo.
- if NOT %REQUEST_METHOD%==POST goto done
- echo content for POST:
- echo ---- begin content ----
- type %CONTENT_FILE%
- echo.
- echo ----- end content -----
- echo.
- :done
- echo -- end of report --
-
-