2001 IT Conference RenoPage: 1 PHP 101 PHP – You can DO IT! Greg Lawler Brooks Institute of Photography February IT Conference Reno
Page: 2 Agenda What is PHP? Functions and Features Lexical structure Why use PHP? PHP in the Real World Q & A
2001 IT Conference RenoPage: 3 What is PHP? 1994 : Personal project Today Version 4 : powerful language Cross-platform, extensible, FAST GPL HTML scripting language Server side, client transparent
2001 IT Conference RenoPage: 4 What is PHP? Built into Apache As DSO – dynamic shared object mod_php All other web servers As CGI binary
2001 IT Conference RenoPage: 5 Functions & Features Built in support for , COM, FTP, XML, PDF, HTTP… Extensive database support ODBC, MySql, Sybase, Oracle… Over 1000 functions and 50 Modules!
2001 IT Conference RenoPage: 6 Lexical Structure Syntax derived from C, Perl, Java, etc… Control structures if, else, for, do while, switch etc… Types Integers, strings, arrays, objects, Classes (OOP) and Functions
2001 IT Conference RenoPage: 7 Why use PHP? Very easy to learn / teach You can do anything! Cheap Cross-platform, extensible, FAST Great online community support
2001 IT Conference RenoPage: 8 PHP in the Real World amazon.com, xoom.com lycos.com Brooks Institute Mayday! Webmail
2001 IT Conference RenoPage: 9 Q & A <?php print “Hello World!"; ?>