PHP Tutorial
Creating Dynamic Webpages and database with PHP
This book is prepared by
Rasmus Lerdorf and Kevin Tatroe
with Bob Kaehms and Ric McGredy
This is a complete tutorial of PHP language. As we know that PHP is very important and widely used by website developers and others. This is a server site language and very famous due to its database techniques. Now, more than ever, the Web is a major vehicle for corporate and personal commu- nications. Web sites carry photo albums, shopping carts, and product lists. Many of those web sites are driven by PHP, an open source scripting language primarily designed for generating HTML content. Most of the developer use PHP to configure SQL server or other databases by using PHP language. PHP has a variety of Functions and Features. In order to use this language, you should need to have knowledge of the language. This Tutorial is Specially help you out to learn PHP easily. For the ease of users, each term of the language is explained with examples and snapshots are specially considered and added in the tutorial book.
In this tutorial, you will come to learn:
1. Introduction to PHP
What Does PHP Do?
A Brief History of PHP
Installing PHP
A Walk Through PHP
2. Language Basics
Lexical Structure
Data Types
Variables
Expressions and Operators
Flow-Control Statements
Including Code
Embedding PHP in Web Pages
3. Functions
Calling a Function
Defining a Function
Variable Scope
Function Parameters
Return Values
Variable Functions
Anonymous Functions
4. Strings
Quoting String Constant
Printing Strings
Accessing Individual Characters
Cleaning Strings
Encoding and Escaping
Comparing Strings
Manipulating and Searching Strings
Regular Expressions
POSIX-Style Regular Expressions
Perl-Compatible Regular Expressions
5. Arrays
Indexed Versus Associative Arrays
Identifying Elements of an Array
Storing Data in Arrays
Multidimensional Arrays
Extracting Multiple Values
Converting Between Arrays and Variables
Traversing Arrays
Sorting
Acting on Entire Arrays
Using Arrays
6. Objects
Terminology
Creating an Object
Accessing Properties and Methods
Declaring a Class
Introspection
Serialization
7. Web Techniques
HTTP Basics
Variables
Server Information
Processing Forms
Setting Response Headers
Maintaining State
SSL
8. Databases
Using PHP to Access a Database
Relational Databases and SQL
PEAR DB Basics
Advanced Database Techniques
Sample Application
9. Graphics
Embedding an Image in a Page
The GD Extension
Basic Graphics Concepts
Creating and Drawing Images
Images with Text
Dynamically Generated Buttons
Scaling Images
Color Handling
10. PDF
PDF Extensions
Documents and Pages
Text
Images and Graphics
Navigation
Other PDF Features
11. XML
Lightning Guide to XML
Generating XML
Parsing XML
Transforming XML with XSLT
Web Services
12. Security
Global Variables and Form Data
File names
File Uploads
File Permissions
Concealing PHP Libraries
PHP Code
Shell Commands
Security Redux
13. Application Techniques
Code Libraries
Templating Systems
Handling Output
Error Handling
Performance Tuning
14. Extending PHP
Architectural Overview
What You’ll Need
Building Your First Extensions
The config.m4 File
Memory Management
The pval/zval Data Type
Parameter Handling
Returning Values
References
Global Variables
Creating Variables
Extension INI Entries
Resources
Where to Go from Here
15. PHP on Windows
Installing and Configuring PHP on Windows
Writing Portable Code for Windows and Unix
Interfacing with COM 359 Interacting with ODBC Data Sources
A. Function Reference
B. Extension Overview
Index
For download, you should need to have PDF reader (Adobe Reader) software installed in your devise. If you do not have, click here to install PDF reader file for free.
0 comments:
Post a Comment