Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Preface
Chapter One – Introduction, Setup and “Hello World”
Introduction to PHP
Setting up Our Work Environment
Our Very First PHP file
Chapter Two – Variables
Introduction to Variables
Basics
Rules
Variable Types and Typecasting
Boolean
Number
String
Array
Objects
NULL
Conclusion
Chapter Three – Logical, Math and other Expressions and Operations
Introduction to Expressions and Operators
Expressions
Operators
Conclusion
Chapter Four – Control Structures
Introduction
If statements
If Statements
If Else Statements
If-elseif-else statement
Switch
Alternate syntax to control structures
While
Do-while
For
Foreach
Break
Continue
Return
Include
Require
Require_once
Include_once
Conclusion
Chapter Five – Functions
Introduction
User Defined Functions
Function Arguments
Return values
Variable Scope
Pre-defined functions
Echo, Print, exit, die
String functions
Conclusion
Chapter Six – Databases
Introduction
What is an API?
Connectors
Drivers
Extensions
PHP MySQL APIs
mysqli Extension
PDO Extension
PHPMyAdmin and getting familiar with MySQL
Basics
MySQLi
Dual interface
Connections
Executing statements
Prepared statements
Conclusion
Chapter Seven – Form Data
Introduction
Methods for sending Form Data
Referencing information from forms
Security
Conclusion
Chapter Eight – Sessions and Cookies
Introduction
Sessions
Passing the Session ID
Custom Session Handlers
Cookies
Creating and retrieving cookies with PHP
Modifying a cookie using PHP
Deleting a cookie using PHP
Check if Cookies are enabled using PHP
Conclusion
Chapter Nine – File Handling
Introduction
File Handling
Reading Files
Opening files
PHP Reading files
PHP Closing files
PHP Create File
PHP Write to File
PHP Overwriting
Conclusion
Chapter Ten – Object Oriented Programming
Introduction
Basics
Class
extends
Properties
Constants
Autoloading Classes
Constructors and destructors
Object Inheritance
Scope Resolution Operator (::)
Conclusion
Answers to Exercises
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 7
Chapter 10
← Prev
Back
Next →
← Prev
Back
Next →