PHP development training course

PHP Development

PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft’s ASP.

Course Overivew

  • PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
  • PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft’s ASP.
    Learning PHP is a great option for any web developer.
  • You will learn all about elementary PHP such as its tools, creating PHP Scripts, generating redirects, creating forms with PHP, using variable and expressions in PHP and basic PHP operators.
  • You will also learn about handling databases with PHP, string manipulation and sessions and cookies in PHP.
  • This course covers installing a web server, PHP, and the MySQL database server.
  • In this course you will Learn PHP Variables, Functions, Arrays, Form Handling, Conditionals and Logic, Loops, Form Validation, Classes and Objects.
Read More
Read Less
Course Benefits:

Introduction to PHP

  • History of PHP
  • Comparison with dynamic content alternatives (Perl, CGI, ASP, JSP, Servlets , CGI, etc)
  • PHP tools and set up (web browser/server, editor, libraries, etc)
  • Create a basic PHP Script
  • Opening and Closing tags
  • PHP as a command line or batch language
  • Taking user input (HTML forms)
  • Self Referring Forms
  • Selecting alternatives
  • Use PHP to generate HTTP headers
  • Generating HTTP redirects
  • Pass PHP variables via the URL
  • Debugging Tips
  • Where to find PHP documentation

Taking User Input From Forms Via PHP

  • Creating forms with PHP
  • Security Protection from Cross Site Scripting
  • Using the form GET method
  • Using the form POST method
  • Obtaining data from forms through variables$_REQUEST,$_POSTor$_GET?
  • Using hidden fields
  • Secure Web Forms (HTTPS and SSL)
  • Calling pages from themselves using forms
  • Quoting HTML entities in user input

Variables And Expressions In PHP

  • Identifiers
  • Data Types (integers, floats, strings and booleans)
  • Type juggling
  • Text constants, interpolation (strings, arrays, objects, functions), here & now documents
  • Creating Variables
  • Variable assignment
  • Variable Scope
  • Namespaces
  • User-defined Constants
  • String constants,variable interpolation into strings
  • Array, Object&Function interpolation
  • HTTP environment variables
  • Magic Constants GLOBALS array
  • Variable References

PHP Operators

  • Arithmetic Operators
  • Logical Operators
  • Relational (Comparison) Operators
  • The Identity Operator
  • The Assignment Operators
  • Increment & Decrement Operators
  • Bitwise Operators
  • Error Suppression Operator
  • The Conditional (Ternary) Operator
  • The Default Operator
  • Execution Operators
  • Other Operators
  • Assignment Operators
  • Operator Precedence and Associativity

Conditional Tests And Events In PHP

  • True and Falseif
  • Comparing Strings and Numberselseandelseif
  • Hierarchical conditions (nestedifstatements)
  • The? :Operator
  • Comparing for equality or identity
  • The switch/case statement
  • Alternative Syntax for Control Structures

PHP Flow Control

  • Loopswhiledo … while forbreakandcontinue goto  exit

PHP Configuration

  • inifile
  • ModuleVs CGI Usageregister_globals
  • Control of error logging
  • Control of resource limits
  • Commonly set configurations
  • File system securitysafe_mode&open_basedir
  • PHP4 compatibility in PHP5
  • A glance at upcoming PHP6

PHP Functions

  • Purpose of functions
  • Built-in functions
  • Declaring functions
  • Functions Arguments
  • Default Arguments
  • Arguments – Call by Reference
  • Return
  • Returning References
  • Variable Scope (global vs local)
  • Static variables
  • Recursion include and require
  • Variable function calls

Storing Data In Arrays Using PHP

  • What are arrays?
  • How and when to use arrays
  • Indexing arrays, numeric and hashes
  • Initialising arrays
  • Using for each
  • Add/remove elements from arrays
  • One-dimensional arrays
  • Multi-dimensional arrays
  • References to array elements
  • Arrays in forms
  • Array operators
  • Array related functions

Handling databases with PHP

  • Error-handling Strategies
  • Connection/disconnection to the database, log in/log out
  • Escaping strings in SQL statements
  • Including common access functions
  • Doing simple SQL queries via PHP
  • Building HTML tables using SQL Queries
  • Avoiding SQL Injection attacks
  • Access to: MySql, MySqli, Oracle & MS-SQL
  • Using PEAR DB
  • Using PHP Data Objects – PDO
  • An Insight to Smart Programming

String Manipulation In PHP

  • Substring and [] operators
  • Case conversion, trimming
  • Formatting output data with sprintf
  • Adding & removing backslashes
  • Regular expressions
  • Meta characters: character classes, repetitions
  • Regular Expression Examples
  • Alternation and Grouping

Sessions And Cookies In PHP

  • What is a session?
  • Dependencies on thephp.ini file
  • Understanding PHP session variables
  • Create a PHP session variable
  • Register and modify PHP session variables
  • Putting PHP session IDs in pages
  • Good Practise with sessions and PHP
  • Cookie properties
  • Setting a cookie in PHP
  • Retrieving PHP cookies
  • Expiring/Deleting PHP cookies
  • Drawbacks to cookies
  • Using cookies well
  • Testing for cookie support
  • Sessions without cookies
  • Cookie Security Issues

File And Directory Access Using PHP

  • Opening files, local and remote
  • Reading & writing and moving about in filesfflush(),file(),fpassthru(),readfile()
  • PHP portability on different Operating Systems
  • Finding file metadata: size, ownership, modification time
  • Handling file permissions
  • Handling file ownership
  • Copying, Renaming and Deleting Files
  • File locking
  • Opening and reading directories
  • File uploads from the browser/user

Other I/O Issues In PHP

  • Getting IP addresses from visitors
  • Getting referring URLs from visitors
  • Environment variables
  • Showing different content to different browsers (IE, Netscape, Firefox, Mozilla, Opera, etc)
  • Handling HTTP and MIME headers

Object Orientation In PHP

  • Object basics
  • Classes in PHP
  • PHP4 – constructors
  • PHP5 – constructors and destructors
  • Inheritance
  • Accessing instance data and functions_sleepand_wakeup_autoload
  • Class constants
  • PHP5 OO Additions,type hints,foreach,autoload
  • PHP 5.4 instantiate & member access
  • Objects: Assignments and Referencestry,throwcatchexception handling

Database-Extended

  • The database behind the application
  • Designing the database
  • Metadata management
  • Entity-relationship (ER) diagrams
  • ER Diagram example
  • Data Modelling tools
  • Users to access the database
  • Creating the databases & tables
  • Creating test data

Create & Edit Data

  • Creating & editing data
  • Creating& editing are much the same
  • Use the same names everywhere
  • outline use of a HTML_QuickForm2form
  • Adding fields to the form
  • Field validation
  • Validation types
  • Smarty Template withHTML_QuickForm2
  • Form validation and processing
  • Display of validation errors
  • An introduction to PHP variables and operators and how to write PHP scripts
  • Creating forms with PHP, basic security features and taking user inputs
  • All about functions, conditional tests, events and flow control in PHP
  •  How to handle databases and connect to MySQL database from PHP
  • How to use sessions and cookies and keep track of visitors to the website

If you want to pursue a career in web development or want to learn PHP then this is the right course for you.

Download
Course
Brochure

Prerequisites

This course is available at :

Classroom Training

Cairo
Giza
Onsite

Online Training

Virtual Interactive Instructor LED
Self-Paced Training

WHY CHOOSE CLS

Experience

We have been in the market since 1995, and we kept accumulating experience in the training business, and providing training for more than 100,000 trainees ever since, in Egypt, and the MENA region.

Premium Facilities

CLS facilities are well-equipped with strong hardware and software technologies that aid both students and trainers lead very effective smooth training programs.

Customer Support

We provide our clients with the best solutions, customized to their specific needs and goals. Our team is highly qualified to answer whatever questions you have.

Global Accredited

CLS is an authorized and accredited partner by technology leaders. This means that our training programs are of the highest quality source materials.

Up To Date

We keep tabs on every change in the market and the technology field, so our training programs will always be updated up to the World-class latest standards, and adapted to the global shape-shifting job market.

Certified Instructors

We select the best instructors, who are certified from trustworthy international vendors. They share their professional experience with the Trainees, so they can have a clear hands-on experience.

Over 200,000 Gradutes From CLS

Play Video
Amr Mostafa
An employee of the Security Department at the Ministry of Electricity

I`m attending now CEH Training with Eng Mohamed Hamdy ,CISSP Training with Eng Mohamed Gohar, I really learned a lot from him , everything here in CLS  is very satisfying including facilities .

Play Video
Lamiaa Medhat
CIO

We took a series of courses as the digital Transformation Unit of the ministry . we just finished CRISC Certification Training with DR Adel Abdel Meneim . Thank you CLS for all your efforts, we really appreciate it

Play Video
Ahmed Salah
Senior Cyber Security Engineer

Me and my colleagues are working in a government Organization, We took a no. of cyber security trainings with CLS starting with CEH and CISSP. we liked every thing the instructors, the stuff and whole environment

Play Video
Ferras Hassan
Head of the Programming Department at Bashayer Energy Company

I`m attending ASP.NET Core with MVC Training with Eng Mohamed Hesham , I really learned a lot from him , everything here in CLS  is very satisfying including facilities .Thanks you all team.

Play Video
Mohamed Ahmed Ali
Systems management specialist

Qualifying the cadres of digital transformation units in government agencies moving to the administrative capital .Thanks CLS

Play Video
Zeinab Salah
Software Developer at Bashayer Energy Company

I`m attending ASP.NET Core with MVC Training with Eng Mohamed Hesham , I really learned a lot from him , everything here in CLS  is very satisfying including facilities .Thanks you all team.

Play Video
Ibrahim Khalaf
IT Infrastructure and Security Manger

I`m attending now CRISC Training with DR Adel Abdel Meneim , I really learned a lot from him , everything here in CLS  is very satisfying including facilities , locations and the team.

Play Video
Samar Shams ElDin
Programmer at Bashayer Energy Company

I`m attending ASP.NET Core with MVC Training with Eng Mohamed Hesham , I really learned a lot from him , everything here in CLS  is very satisfying including facilities .Thanks you all team.

Student Application For

PHP Development
Full Name *
Email *
Phone *
Full Phone
Training Location *
Additional Request

Business Application For

PHP Development
Full Name *
Company Name *
Job Title *
Number of Employees
Email *
Phone *
Full Phone
Training Location *
Additional Request