|
|
PHP |
Course Duration: 60 hrs |
Objective
PHP is one of the most popular server-side scripting
languages used for creating dynamic web pages. One of the reasons of its
popularity is that it offers many advantages over most of the scripting
languages that are currently in use.
Prerequisites
Before you continue you should have
a basic understanding of the following:
PHP Course
- Introduction
- Installation
- Syntax
- Variables
- Naming rules and conventions
- Assigning values to variables
- Destroying variables
- Using constants
- Exploring Data types in PHP
- Determine variable data type
- Using type casting
- PHP Operators
- Assignment operators
- String operators
- Arithmetic operators
- Comparison operators
- Logical operators
- Increment / decrement operators
- Operator precedence
- Conditional statements
- Different types of conditional statements
- THE if statements
- Defining the nested if –else statements
- If – else statement
- If- else.. if else statement
- Switch statement
- Combining conditional statements
- Looping statements
- Different types of looping statements
- Defining the nested looping statement
- PHP While Loops
- Do while loop
- For loop
- For each loop
- Break , continue and exit statements
- Break statement
- Continue statements
- Exit statement
PHP Functions
User define function
- Naming conventions
- Creating and invoking a function
- Returning value from a function
- Understanding the variable scope
- Passing arguments by reference
Built in functions
- String manipulation functions
- Date and time functions
- Mathematical functions
- Recursive , variable and callback functions
Arrays
- Creating an array
- Accessing array elements
- Types of Arrays
- Numeric arrays
- Associative arrays
- Multidimensional arrays
- The foreach construct
- The array iterator
File
- Opening a file
- Closing a file
- Reading a file
- Writing a file
- Retrieving file status
- Locking file using the flock() function
Directories
- Creating a directory
- Deleting a directory
- Locating the current working directory
- Changing a directory
- Listing files in a directory
Advance PHP
Introduction to web forms
- Working with the <form> tag and form elements
- Creating a test box
- Creating a radio button
- Creating a check box
- Creating a drop down box
Processing a web form
- Submitting the form data
- Retrieving the form data
Validating a form
- Displaying an error message when a field is empty
- Enforcing data rules
Introducing databases
- Using PHP and Mysql
- Checking configuration
- connecting to database
- creating a database
- selecting a database
- Create table
- Insert Record
- Select Record
- Where clause
- Order By
- Update Record
- Delete Record
Cookies
- Cookie attributes
- Using cookie header
- Creating cookies
- Reading cookies
- Removing cookies
- Storing Arrays in cookies
Session
- Adding session data
- Reading session data
- Removing session data
- Ending a session
- Preventing session hijacking
- Differentiating cookies and sessions
Protecting Data
- Data encryption
- Types of encryption
- Symmentric Decription
- Types of Encryption Algorithm
- Types of block chipper mode
|