PR012: Introduction to PHP

$1,995.00
$1,995.00
Start Date Time Days Price GTR Availability
September 11, 2017 09:00 (EST) 4 $1,995.00 Register
November 27, 2017 09:00 (EST) 4 $1,995.00 Register

Duration: 4 days

Summary
This is a course where students will learn to create database-driven websites using PHP and MySQL or the 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 programming languages.

Audience

  • Web designers, developers, webmasters and application developers.

Prerequisites

  • A basic understanding of HTML, CSS and basic programming.

Course Outline

1. 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

2. Flow Control

  • Conditional Processing
  • Working with Conditions
  • Loops
  • Working with Loops

3. Arrays

  • Enumerated Arrays
  • Working with Enumerated Arrays
  • Associative Arrays
  • Working with Associative Arrays
  • Two-dimensional Arrays
  • Array Manipulation Functions

4. PHP and HTML Forms

  • HTML Forms
  • Processing Form Input

5. String Manipulation

  • Formatting Strings
  • Working with String Manipulation Functions
  • Magic Quotes

6. Reusing Code and Writing Functions

  • Including Files
  • Adding a Header and Footer
  • User Functions
  • Form Processing
  • Code Organization
  • Form Validation and Presentation Functions

7. Managing Data

  • Mysqli() Overview
  • mysqli Methods and Properties
  • Inserting and Updating Records
  • mysqli Prepared Statements
  • Inserting Records

8. MDB2

  • Advantages and Disadvantages of MDB2
  • Why use a database abstraction layer?
  • When not to use a database abstraction layer?
  • Using MDB2
  • Creating a Customer Report

9. Authentication with PHP and SQL

  • A database-less login form
  • Authenticating Users

10. Regular Expressions

  • Perl-compatible Regular Expression Functions
  • preg_match()
  • preg_replace()
  • Regular Expression Syntax
  • Form Validation Functions with Regular Expressions

11. Session Control and Cookies

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

12. Sending Email with PHP

  • mail()
  • Shortcomings of mail()
  • PHPMailer
  • Sending a Password by Email

13. 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