Review solution to Assignment #3
Overview of PHP
Key properties of PHP
Like ASP, scriptlets are embedded in HTML
Scriptlets are interpreted
Similar to Unix scripting languages (e.g. C Shell)
Dynamic binding of types
Syntax of control statements is similar to C and Java
Convenient language constructs for Web programming
Code examples discussed in class.
PHP reference manual and tutorial
Overview of CGI (Common Gateway Interface)
Standard for having programs interact with a Web server
Program may be written in any language
Perhaps the easiest way to run CGIs is to install and run
the Apache Web server.
The Perl CGI examples were tested on version 2.0. Here is a tutorial
for running CGIs on the Apache Web server.
Overview of Perl
Key properties
Commonly used language for CGIs
May be interpreted or compiled
Similar to Unix scripting languages (e.g. C Shell)
Dynamic binding of types
Syntax of control statements is similar to C and Java
Powerful but simple constructs for manipulating
strings and files
Code examples discussed in class.
Perl references
-