Course Description

This 3-day PHP Programming – Web Development training course will enable students to create database-driven websites using PHP and MySQL or another database of their choice. PHP is a versatile server-side programming language that works hand-in-hand with front-end Web languages such as HTML and JavaScript. PHP can be used to create all types of dynamic web interfaces and has become one of the most widely used web programming languages.

Pre-requisites

Students should have a basic understanding of HTML, CSS and possess basic programming skills.

Who is this course for?

Web designers, web developers, webmasters and application developers.

Further Training

Course content

PHP Basics
How PHP Works
The php.ini File
Basic PHP Syntax
Variables
First PHP Script
PHP Operators
Creating Dynamic Pages
Passing Variables via the Query String
Flow Control
Conditional Processing
Working with Conditions
Loops
Working with Loops
Arrays
Enumerated Arrays
Working with Enumerated Arrays
Associative Arrays
Working with Associative Arrays
Two-dimensional Arrays
Array Manipulation Functions
PHP & HTML Forms
HTML Forms
Processing Form Input
String Manipulation
Formatting Strings
Working with String Manipulation Functions
Magic Quotes
Reusing Code & Writing Functions
Including Files
Adding a Header & Footer
User Functions
Form Processing
Code Organization
Form Validation & Presentation Functions
Managing Data
Mysqli() Overview
mysqli Methods & Properties
Inserting & Updating Records
mysqli Prepared Statements
Inserting Records
MDB2
Advantages & Disadvantages of MDB2
Why use a database abstraction layer?
When not to use a database abstraction layer?
Using MDB2
Creating a Customer Report
Authentication with PHP & SQL
A database-less login form
Authenticating Users
Regular Expressions
Perl-compatible Regular Expression Functions
preg_match()
preg_replace()
Regular Expression Syntax
Form Validation Functions with Regular Expressions
Session Control & 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
Reading from a File
Writing to a File
File Locking
Uploading Files via an HTML Form
Getting File Information
More File Functions
Directory Functions
Getting a Directory Listing
Creating a Resume Management Page