Web Hosting How-Tos
  Home arrow Web Hosting How-Tos arrow Page 3 - How to Install a CGI Script and Increa...
Web Hosting Articles  
Web Hosting FAQs  
Web Hosting How-Tos  
Web Hosting News  
Web Hosting Security  
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
ASP Web Hosting  
ASP.NET Web Hosting 
Budget Hosting 
Coldfusion 
Colocation 
Mobile Linux 
APP Generation ROI 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Reseller Web Hosting 
Shared Hosting 
Small Business Hosting 
Virtual Private Servers 
Windows Web Hosting
 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB HOSTING HOW-TOS

How to Install a CGI Script and Increase Web Site Interactivity
By: Herman Drost
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2004-11-17

    Table of Contents:
  • How to Install a CGI Script and Increase Web Site Interactivity
  • Steps to installing your own cgi script
  • Create your html form
  • Uploading the cgi script and html email form

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    How to Install a CGI Script and Increase Web Site Interactivity - Create your html form


    (Page 3 of 4 )

    8. Rename your cgi script - name your script something else besides formmail (ie contactus.pl), as this is the most common name people use. This will prevent spammers from harvesting your email address.

    9. Create your html form (contactus.htm)

    <html>
    <head>
    <title>Contact Us</title>
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <form method="post" action="http://www.yourdomain.com/
    cgi-bin/contactus.pl">
    <input type=hidden name="recipient" value="siteowner">
    <input type=hidden name="subject" value="Subscribe Me Please">
    <input type=hidden name="required" value="fullname,email">
    <input type=hidden name="redirect" value="http://www.yourdomainname.com/thankyou.htm">
    Full Name<br>
    <input type=text name="fullname">
    <br>
    Email Address<br>
    <input type=text name="email"><br>
    <br>
    Comments<br>
    <textarea name="comments"></textarea>
    <br>
    <br>
    <input type="submit" name="Submit" value="Submit">
    </form>
    </body>
    </html>

    10. Create a confirmation page (ie thankyou.htm) - this will automatically thank people for filling in your form. It can be a simple html page with the comments "Thank you for your interest. We will respond shortly".

    More Web Hosting How-Tos Articles
    More By Herman Drost


       · Your Script on Emailing was great.I would like to see a similar Example Script...
       · We're very glad you liked the article, and we will definitely keep that topic in...
       · Newbie here, I actually almost understand the process. I'm going to contact my web...
     

    WEB HOSTING HOW-TOS ARTICLES

    - Choosing a Web Host for Your WordPress Blog
    - Connecting to a Server using SSH: the Fundam...
    - How to Expand a Simple Website
    - Practical Virtualization with VirtualBox
    - Other Uses for Your Web Hosting Server
    - Hosting Your Own Website: Reliability
    - Introduction to Hosting Websites
    - Choosing a Website Host
    - How to Choose a Budget Web Host
    - URL Redirection
    - How to Link a Domain Name to a Dynamic IP
    - How to Set up a Simple Website
    - Choosing the Right Kind of Web Hosting
    - Introduction to Choosing the Right Web Host
    - Strategies for Creating Domain Names






    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek