Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
7Activity

Table Of Contents

Basic PHP Syntax
Comments in PHP
Variables in PHP
Naming Rules for Variables
String Variables in PHP
The Concatenation Operator
The strlen() function
The strpos() function
Conditional Statements
The if Statement
The if...else Statement
The PHP Switch Statement
What is an Array?
Numeric Arrays
Associative Arrays
Multidimensional Arrays
PHP Loops
The while Loop
The do...while Statement
The for Loop
The foreach Loop
PHP Built-in Functions
Create a PHP Function
PHP Functions - Adding parameters
The $_GET Function
When to use method="get"?
The $_POST Function
When to use method="post"?
The PHP $_REQUEST Function
The PHP Date() Function
PHP Date() - Format the Date
PHP Date() - Adding a Timestamp
PHP include() Function
PHP require() Function
Opening a File
Closing a File
Check End-of-file
Reading a File Line by Line
Reading a File Character by Character
Create an Upload-File Form
Create The Upload Script
Restrictions on Upload
Saving the Uploaded File
What is a Cookie?
How to Create a Cookie?
Storing a Session Variable
The PHP mail() Function
PHP Mail Form
PHP E-mail Injections
PHP Stopping E-mail Injections
Basic Error Handling: Using the die() function
Creating a Custom Error Handler
Error Report levels
Set Error Handler
Trigger an Error
Error Logging
Send an Error Message by E-Mail
What is an Exception
Basic Use of Exceptions
Example explained:
Creating a Custom Exception Class
Multiple Exceptions
Re-throwing Exceptions
Set a Top Level Exception Handler
Rules for exceptions
What is a PHP Filter?
Why use a Filter?
Validating and Sanitizing
Options and Flags
Validate Input
Example Explained
Sanitize Input
Using Filter Callback
Database Tables
Queries
Create a Connection to a MySQL Database
Create a Database
Create a Table
Primary Keys and Auto Increment Fields
Insert Data Into a Database Table
Select Data From a Database Table
Display the Result in an HTML Table
The WHERE clause
The ORDER BY Keyword
Order by Two Columns
Update Data In a Database
Delete Data In a Database
Create an ODBC Connection
Connecting to an ODBC
Retrieving Records
Retrieving Fields from a Record
Closing an ODBC Connection
An ODBC Example
What is XML?
What is Expat?
Installation
An XML File
Initializing the XML Parser
Looping through XML
What is SimpleXML?
Using SimpleXML
What is AJAX?
AJAX is Based on Internet Standards
AJAX PHP Example
The PHP File
AJAX Database Example
Example Explained - The MySQL Database
Example Explained - The HTML Page
AJAX XML Example
AJAX Live Search
AJAX RSS Reader
AJAX Poll
The Text File
PHP Array Introduction
PHP Array Functions
PHP Array Constants
PHP Calendar Introduction
PHP Calendar Functions
PHP Calendar Constants
PHP Date / Time Introduction
Runtime Configuration
PHP Directory Functions
PHP Directory Constants
PHP Error and Logging Introduction
PHP Error and Logging Constants
PHP Filesystem Introduction
Unix / Windows Compatibility
PHP Filesystem Functions
PHP Filesystem Constants
PHP Filter Introduction
PHP Filter Functions
PHP Filters
PHP FTP Introduction
PHP FTP Functions
PHP FTP Constants
PHP HTTP Introduction
PHP HTTP Functions
PHP libxml Introduction
PHP libxml Functions
PHP libxml Constants
PHP Mail Introduction
Requirements
PHP Mail Functions
PHP Math Introduction
PHP Math Functions
PHP Math Constants
PHP Miscellaneous Introduction
PHP Misc. Constants
Resource Types
PHP MySQL Functions
PHP MySQL Constants
PHP SimpleXML Introduction
PHP String Introduction
PHP String Functions
PHP String Constants
PHP XML Parser Introduction
PHP XML Parser Functions
PHP XML Parser Constants
PHP Zip File Introduction
PHP Zip File Functions
PHP Zip File Constants
0 of .
Results for:
No results containing your search query
P. 1
PHP Tutorial

PHP Tutorial

Ratings: (0)|Views: 25|Likes:
Published by Anup Paliwal

More info:

Published by: Anup Paliwal on Aug 16, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

02/15/2013

pdf

text

original

You're Reading a Free Preview
Pages 4 to 20 are not shown in this preview.
You're Reading a Free Preview
Pages 24 to 36 are not shown in this preview.
You're Reading a Free Preview
Pages 40 to 81 are not shown in this preview.
You're Reading a Free Preview
Pages 85 to 143 are not shown in this preview.

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
aquaomz liked this
ALi liked this
ALi liked this
ALi liked this
ALi liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->