Residential ServicesBusiness ServicesFiltered ServicesRoaming ServicesMeet WCOILClients & UsersNetwork OperationsTechnical SupportWCOIL Technology Store

WCOIL Clients
WCOIL Users
  • A - K
  • L - Z
  • Search



    Publication
    Making a personal web page
    Uploading images to Ebay
    Basic CGI Scripts
  • FormMail.pl
  • Counter

  • Using Scripts On Your Page

    Below are directions on how to set up Mail Forms and Cgi-Scripts. All of the scripts located on this page are not the property of WCOIL. We will try to provide answers to general questions on this page and show you how to set up basic scripts.

    Form Mail

    This is an example of what FormMail.pl will look like on your page.

    Name:

    Email:

    Comments:

    The code for this form is as follows. Be sure to change the recipient email address to your own email address. The redirect url should be the page you want people to see after they submit the form.

    <form method=POST action="http://www.wcoil.com/cgi-bin/formmail.pl">
    <input type=hidden name="recipient" value="username@wcoil.com">
    <input type=hidden name="subject" value="Comments from Webpage">
    <input type=hidden name="redirect" value=" http://redirect.html">
    <input type=hidden name="env_report" value="HTTP_REFERER">
    <input type=hidden name="sort" value="order:Name,E-mail,Comments">
    Name:<br>
    <input type="text" name="Name"><br>
    Email:<br>
    <input type="text" name="E-mail"><br>
    Comments:<br>
    <textarea name="Comments" rows="3" cols="30"></textarea>
    <input type=submit value=submit></FORM>



    Counter

    Name the page on which the counter will appear with the extention .shtml, not .html or .htm like your other pages.

    Place the following line in the source of the page where you would like the counter to appear:

    <!--#exec cgi="/cgi-bin/counter"-->