Enable Technology

Web Development 

PHP




Course Overview


A two day intensive course introducing PHP and equipping candidates with the skills necessary to build PHP driven dynamic web sites. Participants should have a sound knowledge of HTML.

Duration: 2 day course



Course Content


PHP Basics
How PHP Works 
The php.ini File 
Basic PHP Syntax 
PHP Tags 
PHP Statements and Whitespace
Comments 
PHP Functions 

Variables 
Variable Types 
Type Strength 
Variable Scope 
Superglobals 
Constants 
PHP Operators 
Creating Dynamic Pages 
Single Quotes vs. Double Quotes 
Passing Variables on the URL 
Passing Variables via the Query String 

Flow Control 
Conditional Processing 
If Conditions 
Working with Conditions 
Loops 
while 
do...while 
for 
break and continue 
Working with Loops 

Arrays 
Enumerated Arrays 
Initializing Arrays 
Appending to an Array 
Reading from Arrays 
Looping through Arrays 
Working with Enumerated Arrays 
Associative Arrays 
Initializing Associative Arrays 
Reading from Associative Arrays 
Looping through Associative Arrays 
Superglobal Arrays 
Working with Associative Arrays 
Two-dimensional Arrays 
Reading from Two-dimensional Arrays 
Looping through Two-dimensional Arrays 
Array Manipulation Functions 

PHP and HTML Forms 
HTML Forms 
How HTML Forms Work 
Form Variables 
Processing Form Input 

String Manipulation 
Formatting Strings 
Concatenation 
String Manipulation Functions 
Working with String Manipulation Functions 
Magic Quotes
magic_quotes_gpc 
magic_quotes_runtime 

Reusing Code and Writing Functions 
Including Files 
require 
require_once 
auto_prepend_file and auto_append_file 
Adding a Header and Footer 
User Functions 
Defining and Calling Functions 
Default Values 
Variable Scope 
By Reference vs. By Value 
Form Processing 
Code Organization 
Form Validation and Presentation Functions 

Managing Data 
Querying a Database 
mysqli() Overview 
mysqli Methods and Properties 
Inserting and Updating Records 
mysqli Prepared Statements 
Inserting Records 

PEAR:DB 
Advantages and Disadvantages of PEAR DB 
Why use a database abstraction layer? 
When not to use a database abstraction layer? 
Using PEAR DB 
Creating a Customer Report 

Authentication with PHP and SQL 
A Database-less Login Form 
Authenticating Users 

Regular Expressions 
Perl-compatible Regular Expression Functions 
preg_match() 
preg_replace() 
Regular Expression Tester 
Regular Expression Syntax 
Start and End ( ^ $ ) 
Number of Occurrences ( ? + * {} ) 
Common Characters ( . \d \D \w \W \s \S ) 
Grouping ( [] ) 
Negation ( ^ ) 
Subpatterns ( () ) 
Alternatives ( | ) 
Escape Character ( \ ) 
Form Validation Functions with Regular Expressions 

Session Control and Cookies 
Sessions 
Configuring Sessions 
Session Functions 
Cookies 
Authentication with Session Control 

Sending Email with PHP 
mail() 
Shortcomings of mail() 
PHPMailer 
Sending a Password by Email 

File System Management 
Opening a File 
fopen() 
Reading from a File 
fgets() 
Writing to a File 
fwrite() 
Writing to a File 
File Locking 
flock() 

Uploading Files via an HTML Form 
Getting File Information 
More File Functions 
Directory Functions 
Getting a Directory Listing 
Creating a Resume Management Page






Email us about this courses         Telephone on 01952 305730






Training Locations: Enable Technology run courses in Wolverhampton, Telford, Shrewsbury, Birmingham, Cannock, Walsall, Dudley, Sandwell, Bridgnorth, Lichfield, Burton-upon-Trent, Stafford, Redditch, Bromsgrove, Solihull, Tamworth, Worcester, Shropshire, Staffordshire, Worcestershire and across the West Midlands.




West Midlands Scheduled Courses: Excel VBA; MS Project, SSRS; SQL; Crystal Reports; HTML;Adobe Illustrator; ASP.NET; Dreamweaver; Flash; Photoshop; InDesign; Google Scripting; Visio; PHP; Microsoft Access; JQuery JavaScript; Web Development; Office;

Birmingham Scheduled Courses: SQL; Excel VBA; MS Access;Photoshop; Adobe Illustrator; InDesign; Dreamweaver; MS Project;Visio; Flash; SSRS;PHP; JavaScript JQuery; HTML CSS; Microsoft Office;

Wolverhampton Scheduled Courses: Microsoft Access; Excel VBAMS Project; Visio; Adobe Illustrator; Photoshop; Dreamweaver; InDesign; Flash; HTML CSS; JavaScript; SQL; Microsoft Office; Adobe

Telford Scheduled Courses: SQL; Excel VBA; MS Project; Visio; PowerPoint; Photoshop; Adobe InDesign; Illustrator; Dreamweaver; Web Design; Office;

Cannock Scheduled Courses: Excel VBA; PHP; Microsoft Access; Visio; MS Project; PowerPoint; Dreamweaver; Photoshop; InDesign; Adobe Illustrator; Flash; JavaScript; HTML CSS;

Walsall Scheduled Courses: Excel; Access; MS Project; Visio; Photoshop; InDesign; Adobe Illustrator; Dreamweaver; Flash; SQL; JavaScript; HTML CSS;

Dudley Scheduled Courses: Excel; MS Access; SQL; MS Project;Visio; Adobe Illustrator; InDesign; Photoshop; Dreamweaver; Flash; JavaScript; HTML CSS;

Sandwell Scheduled Courses: Access;Excel; Microsoft Project; Visio; PowerPoint; Adobe Illustrator; Photoshop; Adobe InDesign; Dreamweaver; Flash; JavaScript; HTML CSS; SQL;

Shropshire Scheduled Courses: Illustrator; InDesign; Adobe; Dreamweaver; Flash; Photoshop; Excel; Project; Visio; PowerPoint; Office; JavaScript; HTML; Access;

Staffordshire Scheduled Courses: Illustrator; InDesign; Photoshop; Dreamweaver; Flash; Adobe; Excel;