Advanced PHP for Web Professionals
By Christopher Cosentino
TAI VE:
advanced_php.chm
http://adf.ly/1PTu1b
-------------------------------------------------------------------------
Advanced PHP for Web Professionals
By Christopher Cosentino
Publisher : Prentice Hall PTR
Pub Date : October 29, 2002
ISBN : 0-13-008539-1
Pages : 368
Copyright
The Prentice Hall PTR Advanced Web Development Series
About Prentice Hall Professional Technical Reference
Preface
Goal of This Book
Who This Book Is For
Getting the Code
Acknowledgments
The Fine Print
Chapter 1. PHP Review
Overview
PHP Syntax
Variables
Operators
Arrays
If/Then Statements
Switch Statements
For Loops
Foreach Loops
While Loops
Do While Loops
User-Defined Functions
Object Oriented Programming with PHP
phpinfo( )
Additional Resources
Chapter 2. Session Management
Introduction to Session Management in PHP4
Initial php.ini Settings for Session Management
Starting a Session
The Contents of Session Files
Tracking Variables across Pages during a Session
Unregistering Session Variables
Destroying Sessions
A Simple Session-Based Shopping Cart
Chapter 3. Multiple Database Interaction
Advanced Database Interaction in PHP4
Database-Specific Functions in PHP
DBX—PHP Support for Multiple Databases
Creating Your Own Support for Multiple Databases
Using Pear::DB
Chapter 4. Better Form Processing
Introduction to Better Forms
Post and Get
Souping Up the Script
Form-Field Checking
Using $HTTP_GET_VARS and $HTTP_POST_VARS
Putting It All Together
Variable Variables
Chapter 5. Using What You Have Learned—A Simple Shopping Cart
Introduction
Features of the Shopping Cart
Setting It Up
The Code
Chapter 6. Working with Files
Overview
Opening and Closing Files
Putting It to Use
Data Mining
Parsing Large Files
Chapter 7. PHP Authentication Schemes
User Authentication Overview
Generating Passwords
Authenticating Users Against Text Files
Authenticating Users by IP Address
Authenticating Users Using HTTP Authentication
Authenticating Users by Database Query
Chapter 8. Error Management
Overview
Error Reporting
Chapter 9. Using What You Have Learned—A Meeting Tracker Application
Introduction
Setting It Up
The Code
Chapter 10. PHP and XML
Overview
Creating an XML Parser
Parsing and Transforming XML Documents
Dumping Database Contents into an XML File
Chapter 11. Generating Dynamic Graphics with PHP
Overview
The GD Library
Enabling GD Support
Generating Graphics with GD
Chapter 12. PHPGTK
Introduction to PHPGTK
Installing PHPGTK
Creating Basic GTK Objects
Putting It All Together
A Simple PHPGTK Application
Index