Realdolmen Education


Building Web Applications with PHP 5

Deze cursus is momenteel niet ingepland op de open kalender, maar kan op aanvraag georganiseerd worden.

Cursus aanvragen

Aantal dagen

4 day(s)


Web developers, system administrators and others who intend to build or run dynamic web sites based on PHP.


Basic knowledge of HTML.


Participants in this course will acquire a solid foundation in the use of PHP for building dynamic web sites.


Classroom training with hands-on exercises. Each participant will get a personal workstation


PHP is one of the most popular server-side scripting languages for the creation of dynamic web applications. It is also a fast and reliable platform to create Content Management Systems, and it can be used on many platforms, including Linux and Window environments.

This course will help anyone to get started with PHP, with only a basic knowledge of HTML and/or XML required. During the course, participants will get a basic understanding of the PHP architecture, and will get to know the PHP programming language syntax to enable the creation of dynamic web pages. Participants will start with the basics, but will gradually be introduced in the use of PHP for more complex and interesting web site behaviour. The course includes topics such as the combination of HTML form elements and PHP, to enable validation and to generate dynamic responses. They will also see who to use PHP to connect to a MySQL database to retrieve dynamic information. Other topics will discuss how PHP helps with the management of user sessions and cookies, and will explain how to handle dates and times,and how to parse and generate XML. Many examples and exercises will provide the participants with hands-on experience, and draw attentionto many tips and tricks in the use of the PHP language. At the end of the course, when time permits, participants will be able to choose betweenthree optional modules. Each module will discuss a more advanced PHP topic, such as the creation of a web framework, or the creation of acomplete weblog that will require all the acquired knowledge from the course.

This course can be recommended for everyone that wishes to get started with PHP right away!


  • Installation and Setup
    • Installing Apache
    • Installing MySQL
    • Installing PHP
    • Installing a PHP Editor
  • Basic Rules of PHP Programs
    • Working with Text and Numbers
    • Working with Variables
  • Making Decisions and Repeating Yourself
    • Understanding true and false
    • Making Decisions
    • Building Complicated Decisions
    • Repeating Yourself
  • Working with Arrays
    • Array Basics
    • Looping Through Arrays
    • Modifying Arrays
    • Sorting Arrays
    • Using Multidimensional Arrays
  • Functions
    • Declaring and Calling Functions
    • Passing Arguments to Functions
    • Returning Values from Functions
    • Understanding Variable Scope
  • Making Web Forms
    • Useful Server Variables
    • Accessing Form Parameters
    • Form Processing with Functions
    • Validating Data
    • Displaying Default Values
  • Storing Information with Databases
    • Organizing Data in a Database
    • Connecting to a Database Program
    • Creating a Table
    • Putting Data into the Database
    • Inserting Form Data Safely
    • Generating Unique IDs
    • A Complete Data Insertion Form
    • Retrieving Data from the Database
    • Changing the Format of Retrieved Rows
    • Retrieving Form Data Safely
    • A Complete Data Retrieval Form
    • MySQL Without PEAR DB
  • Remembering Users with Cookies and Sessions
    • Working with Cookies
    • Activating Sessions
    • Storing and Retrieving Information
    • Configuring Sessions
    • Login and User Identification
  • Handling Dates and Times
    • Displaying the Date or Time
    • Parsing a Date or Time
    • Dates and Times in Forms
    • Displaying a Calendar
  • Working with Files
    • Understanding File Permissions
    • Reading and Writing Entire Files
    • Reading and Writing Parts of Files
    • Working with CSV Files
    • Inspecting File Permissions
    • Checking for Errors
    • Sanitizing Externally Supplied Filenames
  • Parsing and Generating XML
    • Parsing an XML Document
    • Generating an XML Document
  • Debugging
    • Controlling Where Errors Appear
    • Fixing Parse Errors
    • Inspecting Program Data
    • Fixing Database Errors
  • Advanced PHP Uses (Optional)
  • Creating a PHP Framework (Optional)
  • Putting It All Together Exercise (Optional)