![]() |
| DoForm v0.8 Using the DoForm Script As the form action of a standard HTML form, give a URL which refers to both the processing script and the location of a configuration file. The script accepts both POST and GET submissions and can be used to process any configuration file referenced by a URL on either Finch (www.jmu.edu) or Falcon. For example, to access a sample configuration located at: http://www.jmu.edu/mysite/sampform.cfg the the form action tag would read
<FORM action=http://www.jmu.edu/cgi-bin/doform/mysite/sampform.cfg>
SAMPFORM.HTML Select this for a sample HTML form which uses the DoForm script. The Configuration File The configuration file (which must have and extension of .cfg) contains one or more sections describing the actions to be taken when form data is submitted. Blank lines and comment lines (starting with the # character) can be placed between the actions. Each action section consists of an action line which describes where the results should be sent and followed by rules used to format the results. SAMPFORM.CFG Select this to see the contents of the configuration file used by the sampform.htm example. |
![]() |
||
| | | publisher: jmu webmaster | | |||