How to Install a CGI Script and Increase Web Site Interactivity - Uploading the cgi script and html email form
(Page 4 of 4 )
Use your favorite FTP program for uploading to your server (I use
SmartFTP.com which you can download for free).
11. Set permissions to 755 - in SmartFTP right click on the script file you wish to upload, click on Properties/CHMOD and set the permissions to 755.
12. Upload the cgi script - there are two modes of uploading, ASCII and Binary. Upload the cgi script (contactus.pl) and any txt files in ASCII mode. Upload the script to the cgi-bin folder. If you don't follow this you will not be able to execute the script.
13. Upload the html form and any image files like .jpg or .gif in Binary mode.
14. Test your cgi script by filling out the html email form and submitting it. You should receive an immediate confirmation.
By adding interactivity to your web site using a cgi script, you can expand the functions of your web site and create a more interesting experience for your visitors. This will keep them coming back and help you stay ahead of your competitors.
Free CGI scripts
Herman Drost is the Certified Internet Webmaster (CIW)
owner and author of iSiteBuild.com
Affordable Web Hosting Plans from $30/year
Subscribe to his “Marketing Tips” newsletter for more original
articles at: firstname.lastname@example.org. Read more of his
in-depth articles at: www.isitebuild.com/articles
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |