|
|
5 good reasons why you may need to change your web host now, before it is too late
There is a very high possibility that changing your web host now could actually save you a lot of grief in the near future. In the past people have hardly paid attention to their web hosts and have thus been ignorant to the fact that this is a...
A Simple Guide to Web Hosting
Personal Computers, Servers Or ISP? You need a server to host your site so that it can be viewed over the internet. This server can either be an Internet Service Provider or of your own. Most websites are hosted by an Internet Service Provider...
Can I Hear Your Web Site?
A web site makes great eye candy, but can your web site engage senses other than sight? Believe it or not, there are actually companies working to add smell and taste to your web sites and emails! For fun, check out www.trisenx.com . At this...
Can your Web site or servers afford downtime?
Industry estimates indicate that Internet businesses can loose on average about $15,000 for every hour of downtime. This figure combines the cost of repairs with the cost of lost opportunities and sales. For an Internet-enabled business, downtime...
Web Hosting in 2005 --- Finding the Niche and Cashing in!
Web Hosting in 2005 --- Finding the Niche and Cashing in! Over this past year, web hosting has grown to be the biggest it has ever been. With more companies appearing every day, the demand for web hosting has never been higher. In 2005, web...
|
|
|
|
|
|
|
|
How to Install a CGI Script and Increase Web Site Interactivity
You may have delayed cgi script installation due the apparently complex process. Well, I avoided it also for several years, however if you want to increase your web site's interactivity it's a necessity to know how to do it. It's not hard to learn and you don't have to be a programmer.
What is CGI ?
Common Gateway Interface or CGI is a program that can interact with an html form on your web site, and processes the results on your server using a cgi script. The result generated is a dynamic web page. The cgi script is written in a language called PERL ("practical extraction and reporting language").
Uses of CGI scripts
CGI scripts are most commonly used for creating user interaction with a html form on your web site. Other uses include: autoresponders, shopping carts, counters, mailing list managers, ad management, surveys, polls, discussion boards, content management, calendars and click tracking.
There are 100s of free cgi scripts that can be found on the Net. Just do a search on Google for "free cgi scripts" or visit the resources at the end of this article.
We will create an html email form to collect the name, email address and comments of subscribers using a secure cgi formmail script. An automatic confirmation will be sent and the results of the email form will be passed on to your email address.
Steps to installing your own cgi script
1. Check that your web host supports CGI - your web host will have a cgi-bin folder installed on the server. The cgi-bin is a special directory in the server where all the files which require security are kept. This is where you will upload your cgi script once it has been modified.
2. Download the cgi script - this is a secure cgi formmail script. Spammers can't access and harvest your email address from this script.
http://nms-cgi.sourceforge.net/formmail.zip
3. Read the documentation that comes with the script - this will give you a thorough understanding what changes you need to make to have it work correctly with your web site and server. It will also provide you with some examples.
Editing your script
4. Open and edit your cgi script using notepad (don't use an html editor as this can create errors).
5. Remove the html tags from the script (at the top and bottom).
6. Change the path to perl to: #!/usr/bin/perl -wT (this is the first line of the script to be edited).
7. The section of the cgi script shown below, are the other minimum fields to fill out in the script (replace the fields in the script you downloaded with the changed fields in the script below).
# USER CONFIGURATION SECTION # -------------------------- # Modify these to your own settings. You might have to # contact your system administrator if you do not run # your own web server. If the purpose of these # parameters seems unclear, please see the README file. # BEGIN { $DEBUGGING = 1; $emulate_matts_code= 0; $secure = 1; $allow_empty_ref = 1; $max_recipients = 1; $mailprog = '/usr/lib/sendmail -oi -t'; $postmaster = 'youraddress@yourdomain.com'; @referers = qw(yourdomain.com); @allow_mail_to = qw(); @recipients = (); %recipient_alias = ('siteowner' => 'youraddress@yourdomain.com',); @valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT); $locale = ''; $charset = 'iso-8859-1'; $date_fmt = '%A, %B %d, %Y at %H:%M:%S'; $style = ''; $no_content = 0; $double_spacing = 1; $wrap_text = 0; $wrap_style = 1; $send_confirmation_mail =
0; $confirmation_text = <<'END_OF_CONFIRMATION'; From: youraddress@yourdomain.com Subject: Subject of Your Contact Form
(short note here->> )Thank you for your interest. We will respond shortly.
END_OF_CONFIRMATION # # USER CONFIGURATION << END >> # ---------------------------- # (no user serviceable parts beyond here) --------------------------------------------------------------------------------
$postmaster = Who's sending the email @referrers = Domains that are allowed to host the script %recipient_alias = Whom the script will send email to
In my form:
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".
Uploading the cgi script and html email form.
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.
Resources
Formmail script http://nms-cgi.sourceforge.net/formmail.zip
Free CGI scripts Scriptarchive.com Hotscripts.com cgi-resources.com
About the Author
Herman Drost is the Certified Internet Webmaster (CIW) owner and author of iSiteBuild.com Affordable Web Hosting Plans from $30/year http://www.isitebuild.com/sitehosting Subscribe to his insightful “Marketing Tips” newsletter for more original articles. mailto:subscribe@isitebuild.com
|
|
|
|
|
Web hosting, domain names and web design services by FortuneCity |
Web hosting, domain names, web design, free web site and email address providers. We offer affordable hosting, dedicated ad-free web hosting, ... |
www.fortunecity.com |
  |
AT&T Hosting > About AT&T Hosting.com |
Offers shared and dedicated hosting, colocation, and ecommerce services with 24-hour technical support. |
www.webhosting.com |
  |
Hostinginsiders.com - affordable webhosting with a free domain name |
Hostinginsiders.com - affordable webhosting with a free domain name, prices starting at $2.95 per month paid monthly. |
www.hostinginsiders.com |
  |
WEB HOSTING : Compare Prices, Consumer Reviews, Help, Guides ... |
A web hosting marketplace. Also provides guides on how to start your website. |
www.findmyhosting.com |
  |
Yahoo! Web Hosting: Everything you Need for a Professional Site |
Offers shared web hosting services. Supports PHP and MySQL, domain name included and 24/7 toll free support. |
smallbusiness.yahoo.com |
  |
Web Hosting Stuff - 4884 Hosting Companies User Rated & Reviewed |
Find complete ratings and user reviews on 4884 cheap web hosting companies. Include Top 10 Best Web Hosting Chart. We search the web daily for the best ... |
www.webhostingstuff.com |
  |
Doteasy - 100MB Free Web Hosting, Free Email, Domain Names for ... |
Doteasy provides bannerless free web hosting free email and free support for small business and individual. |
www.doteasy.com |
  |
Web Hosting:IX WEB HOSTING:Best Web Hosting Site:Webhosting Provider |
Web Hosting:IX WEB HOSTING:Best Web Hosting Site:Webhosting Provider hosting site sql web best hosting web xxasdf .net add hosting site cheap canada web ... |
www.ixwebhosting.com |
  |
WebHosting.Info - Web Hosting Information |
Provides statistics and research data about the Web services industry. Tracks over 35000 Web hosting companies worldwide. |
www.webhosting.info |
  |
Web Hosting by iPowerWeb |
iPowerWeb is the web hosting leader. Providing cheap hosting with frontpage, php, stats, ecommerce and domain names support. Affordable web hosting without ... |
www.ipowerweb.com |
  |
WebHostingTalk Forums - Web Hosting Discussion |
A popular web hosting discussion forum. ... Discussions on all aspects of web hosting including past experiences (both negative and positive), ... |
www.webhostingtalk.com |
  |
Affordable Virtual Webhosting Service from $8.95: Low Cost and ... |
Affordable Unix web hosting and domain name hosting from less than $2 per domain. We are a low cost professional unix and virtual webhosting provider with ... |
www.active-venture.com |
  |
Webhosting.net - unmatched service and support for your business ... |
Webhosting.net provides E-Commerce web hosting services Co-Location and Dediciated servers. |
www.webhosting.net |
  |
Netfirms - Web Hosting, Domain Names and E-commerce for Small Business |
25Mb with unlimited hits on a clustered web hosting platform. Banner ad required on each page; user ads are permitted. FTP uploads. Email forwarding. |
www.netfirms.com |
  |
Web Hosting, Dedicated Servers, Web Design Services |
Hostway provides web hosting, domain name registration, web design, weblog tools and web site marketing on shared or dedicated servers for small business ... |
www.hostway.com |
  |
Web Host Directory: The best free source of web hosting services ... |
Web Host Directory: Your best free source of web hosting services, featuring more Web Hosts details than ANY other Web Host Directory, along with powerful ... |
www.webhostdir.com |
  |
Affordable, full service web hosting packages. |
Affordable, full service web hosting packages. ... I always refer folks to Go Daddy if they are in the market for a web hosting service. You guys are great! ... |
https: |
  |
Web hosting service - Wikipedia, the free encyclopedia |
A web hosting service is a type of Internet hosting service that allows ... Shared web hosting service: one's Web site is placed on the same server as many ... |
en.wikipedia.org |
  |
Free Webspace and Free Web Hosting Services |
directory to compare free webhosting service providers with reviews and searchable database of about 500 free web space hosts to find free hosting of ... |
www.free-webhosts.com |
  |
Search and Find Web Hosting at HostSearch.com |
News, articles, and a searchable database of web hosting providers. |
www.hostsearch.com |
  |
|