Scripts are files that activate dynamic actions on websites. There are many types of scripts. These are just a few that are fairly comon on websites.
CGI stands for Common Gateway Interface. A .cgi file is a file that will run on the web server and interact with the web user. CGI files can be written with many different programming languages, like Perl, C, Tcl, and others. A CGI file does not have to have the .cgi extension, you might also see them in /cgi-bin directories on websites.
This extension indicates a Perl file. Many web servers will run a .pl file as a CGI.
.java or .class
On the next page you’ll learn about server-side scripts that are very common on web pages.