C Panel Tools

What are CGI Scripts?

You've undoubtedly visited Web pages and seen "cgi-bin" appear in the location line of your browser. CGI stands for "Common Gateway Interface". It is a server-based service which provides a means of adding expanded functionality to Web pages over and above what HTML provides. This expanded functionality is provided by using small programs, or "scripts", that are executed on the server the Web page files reside on. When you see that "cgi-bin" appear on the location line, you probably executed a CGI script on the server when you initially loaded the page, or will in the course of using the page.

CGI is utilized by placing an appropriate HTML tag in your HTML document ("Web page"). The author of the script you wish to use should provide you with the appropriate HTML tag needed to run that script. When the page is loaded by a browser, i.e. viewed by a site visitor, the tag "calls" the script and it is executed by the server. Note that this is different from Java applets or JavaScript, which are executed on the client (visitor's) system via their browser.

Pathname for PERL

What path name should I use for CGI/PERL scripts?

You may use either: #!/usr/bin/perl -or- #!/usr/local/bin/perl
Both will work!

Talk with us live about your problems!

Having a web hosting problem and need an answer now? Our web hosting support team is ready to answer your toughest account questions 24/7. Feel free to reach us if you are having a problem or just have a question or two about our services. We are here to help!