PHP – PHP Hypertext Processor A quick overview
How is PHP used? Embedded with HTML, e.g. Not like CGI: PHP files not an executable Used with servers like Apache and IIS
What does the code look like? Similar to C++ and Java All variables expressed with a leading ‘$’ ex: $foo = 5; Familiar types like boolean, integer, float, string, array; the type is usually not set by the programmer, but by PHP Supports classes Look at code samplecode sample
What else can PHP do? Form processing Database access File uploads ing PDF generation (extension)