PHP

Introduction To PHP

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. PHP is a popular general-purpose scripting language that is especially suited to web development. PHP is used in many web applications, from wiki pages to weblogs to Facebook.

WHO SHOULD TAKE THIS COURSE

Student must have general familiarity with HTML and CSS. Some database experience and/or programming experience will also be helpful.

Course Outlines

  • 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
  • Conditional Processing
  • Working with Conditions
  • Loops
  • Working with Loops
  • Enumerated Arrays
  • Working with Enumerated Arrays
  • Associative Arrays
  • Working with Associative Arrays
  • Two-dimensional Arrays
  • Array Manipulation Functions
  • HTML Forms
  • Processing Form Input
  • Formatting Strings
  • Working with String Manipulation Functions
  • Magic Quotes
  • including Files
  • Adding a Header and Footer
  • User Functions
  • Form Processing
  • Code Organization
  • Form Validation and Presentation Functions
  • Introduction of My SQL
  • Database Creation
  • Perform DML Operations
  • Stored Procedures
  • mysqli() Overview
  • mysqli Methods and Properties
  • Inserting and Updating Records
  • mysqli Prepared Statements
  • Inserting Records
  • A database-less login form
  • Authenticating Users
  • Perl-compatible Regular Expression
  • Functions
  • preg_match()
  • preg_replace()
  • Regular Expression Syntax
  • Form Validation Functions with Regular Expressions
  • Sessions
  • Configuring Sessions
  • Session Functions
  • Cookies
  • Authentication with Session Control
  • mail()
  • Shortcomings of mail()
  • PHPMailer
  • Sending a Password by Email
  • 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