Simple server-side dynamic behavior

We have used applets and JavaScripts to add client-side dynamic behavior to our Web pages. Technologies for server-side dynamic behavior include Common Gateway Interface (CGI), Internet Server Application Program Interface (ISAPI), Application Server Pages (ASP and ASP.NET), PHP Hypertext Preprocessor (PHP -- notice the self-reference in the name :-), and many others.

Each of these has pros and cons and large software libraries, but they all provide the capability of sending information from the client to the server where it can be processed by a program written by the Web developer. The output from that program is returned to the client as a properly formatted HTML page. The client displays the page just as if it would a static HTML page. The following examples use ASP scripts. (When the server-side program is interpreted rather than compiled, it is often referred to as a "script").