Server-side+scripting

Client side scripts are programs which run on the client computer and executed on a browser.

The following snippet of code is an example of a client-side script.



A server side script, on the other hand, is a program which is run on a web server. The server side script is called by code from an HTML web page Common server side scripting languages are:

PHP



and PERL



Task
Look at the PHP and PERL scripts listed above. Explain what each does.

Task
Find 2 examples of PHP and 2 examples of PERL. Explain what each one does.