Web Hosting        
Programming        
Dictionaries
Contact us
Policies
FAQs
home page general information mail link goes here. copyright information
 

Cgi Scripts

Diraja.com will do the cgi programming and installation according to all of your purposes. Some of common cgi scripts that we have developed as list below:

  • Basic Counter
  • Guest Book
  • Feedback Form
  • Clock
  • Countdown
  • Resume Deposive Program
  • Industrial Training Program for MMU

Diraja.com will also provide customise cgi programming to meet your specific needs of your company. Please contact us for more detail.

What is CGI?

CGI, or "Common Gateway Interface", is a specification which allows web users to run programs from their computer. CGI isn't a programming language in itself; rather, it is standard that allows programs or scripts written in other languages to be run over the Internet. CGI programs usually take input passed to it from a form on a web page, process the information, and then formats the results as a HTML document. The result is a web page that is generated dynamically. The common choice for writing and processing CGI is Perl, or "Practical extraction and reporting language". Perl was originally developed to handle multiple text files and format them nicely,But now is used for writing CGI along with HTML.

Why using a Script?

Make your site interactive and attractive and to lure your visitors back again and again. Scripts change a simple web site to a site where a visitor can post a question onto a discussion forum, complete a survey and do many other things that make the site interesting and beneficial to the visitor.

You just need to find a script that is being offered either for free, or at a price, and then download it from the author's web site. You then upload it to your server. Sounds simple, huh?

Scripts come in many different formats. You can add a JavaScript, VBScript, ActiveX, Active Server Pages(ASP), Java Applets, JavaBeans, CGI and others.

Then, why CGI script?

There are times when you might want to have some of your pages dynamic or interactive with the site users. This can be as simple as a counter saying, 'You are the visitor no #####', but it could also include such things as a Survey or Opinion poll based on user input and provides the responses from some questions asked them. And the best way you can produce results like these is with CGI scripts.

There are other type of scripts like Java Scripts that can do some things, but they have limitations and can only work on the client- side. In other words, the scripts are interpreted and run in the browser of the user. Whereas CGI scripts will directly interact with the server, where your whole web site resides, simply they are server-side. Since it works from your server you can take control over the scripts which are running by using other server files, for example the sendmail program of Unix. Javascripts don't access any of your other files, (for example you cannot access a database which is in your server). Javascripts are simply inserted into your HTML pages, which can be run by the browser.

Netscape browsers don't support VBScripts and ActiveX, so we cannot think about them now. Another technology like ASP can be used instead of CGI but only in a Windows-NT server and UNIX servers can't support them. We can use Java applets, but speed would be a problem with Java applets. So, we prefer CGI scripts, though its not an easier one. We can look forward to some other technology which can do better than all of these technologies in the future.