******************************************************************* * Common Gateway Interface (CGI) Use for Galaxy Internet Services * ******************************************************************* We currently have some of the most common CGI's installed in our system for our customers use. Those CGI's are counters, form mailto and guestbook. ************************************************************************************* These CGI's are for use by customers of Galaxy Internet Services ONLY. If you are found abusing these CGI's (hacking, overload, etc) action will be taken immediately to end your access to them. (possible termination of account) ************************************************************************************* On with the show: FORMMAIL: ******** Web Page Form Emailer --------------------- The Web Page Form Emailer is used to accept e-mail messages via your web page. A user can type an email message in a form on your page, and the mail will be sent to your mailbox. HOW TO SET UP A BASIC FORM EMAILER ON YOUR PAGE ------------------------------------------ To set up a basic form emailer, simply cut and paste the html code below and place it in your html document. Make sure to replace "username@gis.net" with your email address.


Your e-mail address:

Your name:

Subject:

Comments:

ADVANCED OPTIONS ------------------- - To allow the user to choose from a list of addresses to send to (via (a popup menu), enter the following code: - To create a default subject, rather than allow the user to specify the subject, enter the following code: - If you want to force the user to fill out the WHOLE form, you must add a little more code. Here's an example where the "Your Name" field MUST be filled out for the email to be sent, but the "Your Email" field is optional: Your Field:
Your Email: The field named "_need" tells the emailer which fields must be filled out for the email to be accepted. COUNTER: ******** This will count the number of hits to your web page. Please note, this counter does not work with Web Hosting accounts (www.domain.com). You may use any counter you like in your account, in your cgi directory. If you would like to use this counter, you must download it and install it your your CGI directory. If you have a web host account you will need to download the counter at http://cp.gis.net/techinfo/counter.zip Example: Any files that have the counter must end in ".shtml", so your index file should be called index.shtml and any other pages must end in .shtml If you are unable to name a file .shtml in your operating system then just upload the file with a shorter .htm extension and rename it with your ftp program to end in .shtml Where ever you want the counter number to go in your HTML code you must put the following code: Put it in exactly as above with the "" around the text as it is seen here GUESTBOOK: ********** This creates a guest book where people can leave comments about your web page and messages. You need to have the following HTML code in the guestbook page: ----------------------------------------- Sign My Guestbook!

Comments!

Here are comments from visitors. Post your own using the form at the end of the page.

Comments list started on Jan 2 1997 Last post on


Post a response:
Name:
Email address:
Text:


------------------------------------------------ NOTE the ACTION="/cgi-bin/gbook.cgi/~username/guestbook.html"> you must change the "username" to your own username and have the correct path to the guestbook html file after that. -------------------------------------------------- I cannot provide technical support for these CGI's Many many customers use them so I am confident that they work well. If you have any questions about configuration or are having problems with them please see our web FAQ at http://www.gis.net/tech/webfaq.html Thankyou, Paul webmaster@gis.net