J004 Introduction to PHP

This is a 4 day 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.

Trajanje: 4 dana/ 32 časa

Cena: 360 €

Ovaj kurs možete pohađati online(?)   

Poželjno predznanje: 

Should have a basic understanding of HTML, CSS and basic programming.

Sledeći polasci:

Virtuelna učionica
Plan obuke : 

Module 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

Module 2: Flow Control

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

Module 3: Arrays

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

Module 4: PHP and HTML Forms

  • HTML Forms
  • Processing Form Input

Module 5: String Manipulation

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

Module 6: Reusing Code and Writing Functions

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

Module 7: Managing Data

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

Module 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

Module 9: Authentication with PHP and SQL

  • A database-less login form
  • Authenticating Users

Module 10: Regular Expressions

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

Module 11: Session Control and Cookies

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

Module 12: Sending Email with PHP

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

Module 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