File Under: Glossary

Script


A script is an executable list of commands created by a scripting language. On the Web, script typically means an alternative to the common gateway interface, or CGI. A CGI program could be written in any programming language, including C, Perl, Java, or Visual Basic, and runs on a server that can be accessed by the user agent. Scripts, on the other hand, are programs that run on the user’s machine rather than the web server. Because they run on the client, scripts are considered to be “client-side solutions,” while CGI programs are considered to be “server-side solutions.”