|
Creating Web Pages: Learning How What is a CGI Script? CGI stands for "common gateway interface." It is essentially a server-side way of dealing with data. CGI scripts are written in a programming language, such as Perl or C++. You can find and download CGI scripts from the web. Matt's Script Archive has many CGI scripts available for public use. http://www.worldwidemart.com/scripts CGI scripts used with CIN web pages must be kept in the "CGI-Bin" - for security reasons. Following are some of the CGI scripts that CIN already has and are available for you to use. If you have a CGI script you'd like to use, contact us via email at userhelp@stlouis.missouri.org or call the Help Desk at 622-3400 x815 and leave a message. On-Line Form Description: On-line forms allow a user to enter information into a web page and submit the form to you. Data can be sent directly to you via an email address but using a CGI script as an intermediary step has several advantages: older browsers will support the form; more user friendly; some servers no longer allow direct emailing; and allows people without an email account to use the form. Script: Matt's Script Archive "FormMail" CGI script To reference the script: <FORM METHOD="post" Action="/cgi-bin/FormMail.cgi"> Instructions: http://www.worldwidemart.com/scripts/formmail.shtml or take the CIN "On-Line Forms" class. Examples: Use View-Document Source to see the HTML coding.
This Page Last Modified: 11/19/07 |