{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;} {\f72\froman\fcharset238\fprq2 Times New Roman CE;}{\f73\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f75\froman\fcharset161\fprq2 Times New Roman Greek;}{\f76\froman\fcharset162\fprq2 Times New Roman Tur;} {\f77\froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f78\froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f79\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f80\fswiss\fcharset238\fprq2 Arial CE;}{\f81\fswiss\fcharset204\fprq2 Arial Cyr;} {\f83\fswiss\fcharset161\fprq2 Arial Greek;}{\f84\fswiss\fcharset162\fprq2 Arial Tur;}{\f85\fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f86\fswiss\fcharset178\fprq2 Arial (Arabic);}{\f87\fswiss\fcharset186\fprq2 Arial Baltic;}} {\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0; \red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{\*\cs10 \additive Default Paragraph Font;}}{\info{\author Standard User}{\operator Standard User}{\creatim\yr2001\mo11\dy19\hr10\min19}{\revtim\yr2001\mo11\dy19\hr10\min20} {\version2}{\edmins1}{\nofpages3}{\nofwords669}{\nofchars3816}{\*\company Element K}{\nofcharsws4686}{\vern8269}}\margl1440\margr1440 \widowctrl\ftnbj\aenddoc\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\hyphcaps0\horzdoc\dghspace120 \dgvspace120\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind4\viewscale100\nolnhtadjtbl \fet0\sectd \linex0\sectdefaultcl {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang{\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}\pard\plain \ql \li0\ri0\sl240\slmult0\widctlpar\faauto\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 {\b\f1\fs26\cf1 PHP 4: Introduction}{\f1\fs20\cf1 \par \par }{\b\f1\cf1 Course Specifications}{\f1\fs20\cf1 \par Course number: 077200 \par Course length: 1 DOT \par \par }{\b\f1\cf1 Course Description \par \par }{\b\f1\fs20\cf1 Overview:}{\f1\fs20\cf1 PHP 4: Introduction explores all of the major elements of PHP programming. With PHP, you can build dynamic, data-driven Web sites that use a variety of databases. Easy-to-understand code samples are used to demonstrate the many elements and techniques used in PHP programming. \par \par }{\b\f1\fs20\cf1 Prerequisites:}{\f1\fs20\cf1 To ensure your success, we recommend you first take the following Element K courses or have equivalent knowledge: \par \'b7\tab }{\i\f1\fs20\cf1 HTML Programming: Level 1 \par }{\f1\fs20\cf1 \'b7\tab }{\i\f1\fs20\cf1 HTML Programming: Level 2 \par }{\f1\fs20\cf1 \'b7\tab }{\i\f1\fs20\cf1 Introduction to Programming \par }{\f1\fs20\cf1 \'b7\tab }{\i\f1\fs20\cf1 SQL Fundamentals of Querying \par \par }{\b\f1\fs20\cf1 Delivery Method:}{\f1\fs20\cf1 Instructor-led, group-paced, classroom-delivery learning model with structured hands-on and minds-on activities. \par \par }{\b\f1\fs20\cf1 Benefits:}{\f1\fs20\cf1 After completing this course you will be able to immediately use PHP to create impressive Web sites. \par \par }{\b\f1\fs20\cf1 Target student:}{\f1\fs20\cf1 PHP 4: Introduction is designed for the student who is well versed in HTML, and who has had at least some experience with scripting languages and SQL. This is a serious programming course\emdash it is not intended for students who have created Web sites only with a WYSIWYG editor (for example, MS FrontPage) and have never gotten into HTML coding by hand, let alone scripting or working with SQL databases. \par \par }{\b\f1\cf1 Hardware/Software Requirements:}{\f1\fs20\cf1 You will need:}{\f1\cf1 \par }\pard \ql \fi-360\li360\ri0\sl240\slmult0\widctlpar\faauto\rin0\lin360\itap0 {\f1\fs20\cf1 \'b7\tab A 133 MHz or faster Pentium-based PC. \par \'b7\tab 32 MB of RAM (64 MB recommended). \par \'b7\tab 75 MB or more of hard disk space. \par \'b7\tab Monitor capable of displaying 800 x 600 pixels at 256 colors or more. \par \'b7\tab Microsoft Windows 98. PHP requires a different configuration depending on the version of Windows you are using. This course is designed for Windows 98 and has not been tested using other Windows operating systems. \par \'b7\tab Microsoft Internet Explorer 5.0 or higher. \par \'b7\tab PHP version 4.0.4 (included on course data files CD). \par \'b7\tab MySQL version 3.23.35a (included on course data files CD). \par \'b7\tab Microsoft Personal Web Server 4.0. \par \'b7\tab A text editor; for example, Notepad. \par }\pard \ql \li0\ri0\sl240\slmult0\widctlpar\faauto\rin0\lin0\itap0 {\f1\fs20\cf1 \par }{\b\f1\cf1 Performance-Based Objectives \par }{\f1\fs20\cf1 Lesson objectives help students become comfortable with the course, and also provide a means to evaluate learning. Upon successful completion of this course, students will be able to: \par }\pard \ql \fi-360\li360\ri0\sl240\slmult0\widctlpar\faauto\rin0\lin360\itap0 {\f1\fs20\cf1 \'b7\tab Describe what PHP is and the advantages to creating Web sites with PHP. \par \'b7\tab Use variables, arrays, and functions in PHP scripts. \par \'b7\tab Include other files in PHP scripts and manipulate files and directories. \par \'b7\tab Process forms and validate their information. \par \'b7\tab Incorporate hidden form fields, cookies, and session variables in PHP scripts. \par \'b7\tab Add, update, and delete records in a database using PHP. \par }\pard \ql \li0\ri0\sl240\slmult0\widctlpar\faauto\rin0\lin0\itap0 {\f1\fs20\cf1 \page }{\b\f1\cf1 Course Content \par \par }{\b\f1\fs20\cf1 Lesson 1: Introduction to PHP \par }{\f1\fs20\cf1 Topic 1A: What is PHP? \par Task 1A-1: Understanding PHP \par Topic 1B: Basic Syntax of PHP \par Task 1B-1: Writing Your First PHP Script \par Task 1B-2: Incorporating HTML in PHP Scripts \par Task 1B-3: Commenting Your PHP Code \par \par }{\b\f1\fs20\cf1 Lesson 2: Common PHP Script Elements \par }{\f1\fs20\cf1 Topic 2A: Using Variables \par Task 2A-1: Experimenting with Variables \par Topic 2B: Working With Arrays \par Task 2B-1: Creating an Associative Array \par Topic 2C: Using Functions \par Task 2C-1: Exploring Functions \par \par }{\b\f1\fs20\cf1 Lesson 3: File and Directory Handling \par }{\f1\fs20\cf1 Topic 3A: Including Files \par Task 3A-1: Writing the Include Files \par Topic 3B: File Access \par Task 3B-1: Creating a Hit Counter \par Task 3B-2: Creating a Directory Navigation Script \par \par }{\b\f1\fs20\cf1 Lesson 4: Working With Forms \par }{\f1\fs20\cf1 Topic 4A: Processing Forms \par Task 4A-1: Using Arrays to Process Form Information \par Topic 4B: Form Validation \par Task 4B-1: Validating Form Data \par Task 4B-2: Using the HTMLSpecialChars Function \par Topic 4C: E-Mailing Form Data \par Task 4C-1: Adding E-Mail Functionality \par \par }{\b\f1\fs20\cf1 Lesson 5: Addressing the Stateless Nature of HTTP \par }{\f1\fs20\cf1 Topic 5A: Hidden Form Fields \par Task 5A-1: Using Hidden Form Fields \par Topic 5B: Cookies \par Task 5B-1: Setting a Cookie \par Topic 5C: Sessions \par Task 5C-1: Setting Session Variables \par \par }{\b\f1\fs20\cf1 Lesson 6: Accessing Databases With PHP \par }{\f1\fs20\cf1 Topic 6A: Interacting With Databases \par Task 6A-1: Connecting to the MySQL Server \par Task 6A-2: Retrieving Data \par Topic 6B: Modifying Database Records Using PHP \par Task 6B-1: Adding a Record \par Task 6B-2: Updating a Record in the Database \par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 {\fs20 \par }}