| Beginners Guide to an Interactive Web Page Domain: 'chapters.sme.org' This Web Page was created by Bill Sharpe © 2000. Isn't
it time to put your meeting notice on the Web?
|
CGI History @ chapters.sme.org
In the winter of 2000, Jim Smith ( SmitJim@sme.org ) at SME International, has implemented a CGI (Common Gateway Interface) capability for the 'chapters.sme.org' domain. We have been successful and have a experimental page in place. Feel free to experiment with this electronic meeting notice and make sure your chapter webmasters are made aware of this new capability. If you need more details please feel free to contact me. At Region 9 a demo "Technical Meeting Notice"... http://chapters.sme.org/09/demo/mtgnotice/index.stm If you submit your demo'd intentions to attend this dummy meeting it will reply with time with an email to remind you to calendar this event. The reply is contingent on you providing a good email address. Additionaly the first two records (semicolon delimited) in this email are structured to be easily included into a spreadsheet for the meetings management committee (head count) and Certification committee (credits).This capability can be applied to any SME local chapter within the domain 'chapters.sme.org'. I have applied the technique to Chapter 186's March "Technical Meeting Notice" page and is working so well that when a "Joint Technical Meeting" of engineering society's was to be held in my local chapter, SME was approached about providing a online registration web page. Please take a moment to consider the possibilities for yourself and SME. Thank you and best success.
The World Wide Web (CERN) , as it is known today, can be interactive allowing the collection of user input as you may have exercised in the above sited example. At domain "chapters.sme.org" we are using a utility for the MS-WindowsNT ISS called "BLAT" that is envoked with a PERL script from a web submitted HTML FORM. Used in a HTML FORM and "hypertext system" it will pass the users input into an email message that targets individuals or groups of individuals. The use of a WWW HTML FORM has three main goals:
|
What is a HTML FORM ?A HTML FORM is a element of a WWW page that permits a visitor of the page to input data and submit it to a CGI (Common Gateway Interface).
What is CGI?CGI refers to electronic program on the web server that "links" user browser input to a central utility (Email, database, analysis, etc.). In this case the CGI is two programs choregraphed together from within a web page. The first is the PERL (Practical Extraction and Report Language) Script and the second is the BLAT utility. The CGI HTML FORM does not require the users internet browser to be configured in anyway but to simply load the page and submit their input. The CGI takes over and processes the input as it is coded. In the instance sited here the PERL script passes the web page HTML FORM input to a installed system utility called BLAT.
What is PERL?PERL stands for Practical Extraction and Report Language. This is a portable standard set of codes or "tags" that are installed on a server that is to process HTML FORM input and output. Perl is a programming language developed by Larry Wall, especially designed for processing text. Because of its strong text processing abilities, Perl has become one of the most popular languages for writing CGI scripts . Perl is an interpretive language, which makes it easy to build and test simple programs. HTML.
How is the CGI employed?CGI Use is done with a few HTML tags that are related to the HTML FORM tag. The <FORM> tag is coded something like this....
From the Demo page... ( demo page )
First Insert the following HTML INPUT tag(s)...
What are the CGI variable names and what are their values?The setting of these HTML FORM tags variable NAME(s) must match the names used within the PERL CGI on the web server in order to work. A mismatch (case sensitive) will fail to pass the users input on the miss matched INPUT. The following is a listing of those INPUT variable names and how they are set on the HTML FORM for this example.
|
Click the like for a file transfer (download) of the source code.
If you need any further information on anything Web or PC related, drop us an e-mail.
Thanks for stopping by.