Singapore Web Hosting - Web hosting, email hosting, web design and promotion services in Singapore.

CGI Scripts - Super-charge Your Web Site

SingaporeWebHosting.com

Singapore Web Hosting - Web hosting, email hosting, web design and promotion services in Singapore.

Home | Linux Hosting | Windows Hosting | Email Hosting | Domain Name | Web Design | Web Promotion | Reseller | Servers

Current Special

1 Year Free Web Hosting
included in our
Web Design Service

Web Hosting SingaporeWhy Choose Singapore Web Hosting .com
With thousands of website hosting companies why choose our service? Because we care about every customer and every detail of our business. We provide Unix / Linux web hosting, Windows hosting, email hosting, dedicated servers, domain name registration, web design and promotion services. And we make sure the job is always done right.

Home
Unix Hosting
Windows Hosting
Email Hosting
Domain Name
Web Design
Web Promotion
Reseller Plan
Dedicated Server
Support
FAQ
Resources

About Us
Contact Us

 

 

Singapore Web Hosting > Support

Super-charge Your Web Site With CGI Scripts

Back to part 1

Transfer Files And Set Permissions

Once the script is all set up and ready to go, the next step is to transfer the script files to your web server and set the proper "permissions" to the files. These permissions are necessary so your web site visitors can access them properly.

Transferring script files to your web server is not much different than transferring your web pages there. More info on transferring files using FTP.

Most web hosts require CGI scripts to be in the cgi-bin directory. You can create sub-directories in the cgi-bin for each scripts as well. Some hosts allow you to place and run CGI scripts anywhere. Check FAQ section of your hosting service.

If your server is running a UNIX or Linux operating system, you have to set the permissions to the files. The UNIX term for setting file permissions is CHMOD.

In your FTP software, right-click on the script and select "CHMOD" from the pop-up menu to bring up the Remote File Permissions window. Select the needed radio buttons according to instructions in the readme file.

In most cases, the .pl files need to be set to "755" while other data files "777".

Add HTML Tags

The final step is to add the appropriate HTML tag to your web pages to call the script and then transferring that updated page to the server. The documentation that came with the script, or the comments in the script file itself, should include the appropriate tag to use.

You may have to modify this tag. Most tags assume your CGI sub-directory is called cgi-bin. If it's called simply cgi, or something else, make the necessary change in the tag.

Once the tag is added to the appropriate pages, upload them to your server as you normally would.

Congratulations! You've just setup and installed a CGI script. That's all there is to it.

It may sound complicated while actually it's not. Once you give it a try, change several lines of codes here and there, you will find it easier than designing a web page. Much easier and faster I would say.

One last note. you should use caution when selecting free scripts. Some of these free scripts do not adequately lock files which is important in a web environment where multiple people could be viewing the same web page simultaneously. Some poorly written scripts could actually pose a security risk by allowing unauthorized access to the server.

Unfortunately, there is no easy way for untrained eyes to determine if adequate file locking is used or if the script represents a security hole. And most web sites that offer scripts from third parties for download do not perform any sort of quality control checks.

Look around in forums and check feedbacks from other users before you install any script.

Back to part 1

More Web Hosting, Design, Promotion Articles and Tips

Feel free to use this article in your publication or web site.
It's pre-licensed to you.
The only requirement is to include this resource box at the end of the article:

Article by Zac Hewlett at SingaporeWebHosting.com
Visit http://www.SingaporeWebHosting.com for more
web site design and promotion articles, proven online
marketing tips and techniques.

 

Web Hosting Articles and Tips

Why Do You Need A Web Site In The First Place?
What To Look For In A Web Host? 2
Why Do You Need Your Very Own Domain Name?
How To Choose A Domain Name?
What Can Server Side Includes (SSI) Do For You?
Super-charge Your Web Site With CGI Scripts 2
How Much Bandwidth Do You Need?
What's In The Mysterious Log File?
How To Use FTP?

Web Design Articles and Tips

Web Site Design Basics - From Internet Marketers Standpoint 2
Top 10 Deadly Web Site Design Mistakes 2
Easy Web Site Maintenance Using Server Side Include (SSI)
Should You Do Web Site Design In-house?
Cascading Style Sheets (CSS) Made Easy
Avoid "Lost" Traffic By Making Full Use Of Error Pages
What The Heck Is That? - All The Jargons Explained 2 3
How To Design An Effective Navigation System?
Are You Mad About Spam?
Ten Steps To Top Ranking Pages In Google 2

Web Promotion, Internet Marketing Articles and Tips

Can You Still Make Money On The Internet?
How To Rank High In Search Engines?
How To Get Listed In Yahoo? 2
The Power Of Opt-in List
How To Reach Millions Of People With Your Product For Free?
How To Get Thousands Of People Actively Promote Your Online Business? 2
The Strategy That Will Pay You Off For Years
Does Banner Ad Still Work?
One Stone, Three Birds - Newsgroup And Forum Participation
The Magic Word
How To Drive Targeted Traffic In 10 Minutes Time?

 

Singapore Web Hosting, Web Design, Web Marketing

 

Web Hosting Singapore | Web Hosting | Email Hosting | Domain Registration | Web Design | SEO | Resellers Plan | Dedicated Servers
Copyright © 2001-2009 Singapore Web Hosting .com Web Services Division of Silver Media
Privacy Policy | Terms of Use | SLA | Acceptable Usage Policy | Site Map | Singapore SEO | Singapore SEO