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 Reviews  
Web Hosting Security  
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
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 / 6
    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
     
     

    SEARCH WEB HOSTERS

    TOOLS YOU CAN USE

    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

    WEB HOSTING HOW-TOS ARTICLES

    - Phishing Scams: An Overview and How to Detec...
    - Tips for Safe Downloading Online
    - How To Avoid Spam
    - How to Get Into Ethical Hacking
    - How to Prevent Drive-by Downloads
    - Facebook Timeline Tips and Tricks
    - How to Keep Up with Facebook`s Changes
    - Wi-Fi Network Security Tips
    - Tips for Safe Online Holiday Shopping
    - Facebook Privacy: Keeping Up with the Const...
    - Tips for Facebook Privacy
    - How to Cover Your Tracks on the Web
    - SSH Keys for FileZilla and Putty in Cpanel
    - How to Create a Filezilla FTP User
    - How to Install FileZilla Server

    Developer Shed Affiliates

     




    © 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap