|
|
EPIC
Web Utilities -- COVER
Input and output
- COVER looks for forms inputs named "script",
"p1" .. "p16"
- The script may be specified as "extra path"
information instead
- The arguments p1 .. p16 (or P1 .. P16) are
used in order
|
|
- With FORMS (GET or POST) -- specify COVER as the ACTION
- As an HREF -- specify COVER with a QUERY STRING
- Example:<A HREF="http://www.pmel.noaa.gov/tao-bin/cover?script=wombat&p1=furry">
- Or: <A HREF="http://www.pmel.noaa.gov/tao-bin/cover/wombat?p1=furry">
- An input named "debug" may be used to help solve problems
- debug=on or debug=1 output info instead of running
the script
- debug=2 or debug=3 output even more info
- This is very useful while developing the FORM, to
ensure the right arguments are being passed to the script,
and in the right order
- Your script must output the
CGI forms header(s) (parsed headers), followed by any
appropriate output
- If the header is missing, COVER provides it ("Content-type:
text/html" followed by a blank line) *** NOTE *** current
behavior is for COVER to complain, and output the header
- See the cover-small-examples
and cover-big-examples
If you have any questions about COVER utility please contact:
epic@pmel.noaa.gov or
Mark Renton (the author).
|
|