PHP 5 Advanced: Visual QuickPro Guide / Edition 2

PHP 5 Advanced: Visual QuickPro Guide / Edition 2

by Larry Ullman
Pub. Date:
Peachpit Press
Select a Purchase Option
  • purchase options

Temporarily Out of Stock Online


PHP 5 Advanced: Visual QuickPro Guide / Edition 2

PHP is currently one of the most popular server-side, HTML-embedded scripting language on the Web. It's specifically designed for Web site creation and is frequently being used to replace the functionality created by Perl to write CGI scripts. PHP's popularity and easier-to-learn appeal has spawned a new breed of programmer, those who are only familiar with and only use PHP.

Sharpen your PHP skills with the fully revised and updated, PHP 5 Advanced for the World Wide Web: Visual QuickPro Guide! Filled with fifteen chapters of step-by-step content and written by best-selling author and PHP programmer, Larry Ullman, this guide teaches specific topics in direct, focused segments, shows how PHP is used in real-world applications, features popular and most-asked-about scripts, and details those technologies that will be more important in the future. You'll learn about object-oriented programming, PHP interactions with a server, XML, RSS, Networking with PHP, image and PDF generation, and more.

Product Details

ISBN-13: 9780321376015
Publisher: Peachpit Press
Publication date: 03/19/2007
Series: Visual QuickPro Guide
Pages: 608
Product dimensions: 7.00(w) x 9.00(h) x 1.15(d)

Table of Contents

Table of Contents


Chapter 1: Advanced PHP Programming
Code Structure and Documentation
Function Recursion and Static Variables
References and Functions
PERL-Compatible Regular Expressions

Chapter 2: Basic Object-Oriented Programming
Defining a Class
Creating an Object
Creating Constructors
Object Inheritance
Using Class Functions Without Instances
Serializing Objects
Destroying Objects

Chapter 3: Developing Web Applications
Catching Exceptions
Using PEAR's HTML_QuickFOrm
Modularizing a Web Site
Error Logging and Reporting
Browser Detection

Chapter 4: Database Concepts
Database Design and Normalization
Storing Sessions in a Database
Storing BLOBs in a Database
Using Prepared Statements
Database Encryption
Working with Bound Variables

Chapter 5: Security
Validating Forms
Validating Forms with JavaScript
Encryption with Mcrypt
HTTP Authentication
Web Server Security
Shared Server Security
Encorporating Captcha with PEAR
Using PEAR Auth

Chapter 6: Advanced OOP
Access Control

Chapter 7: E-Commerce
Creating the Database
Showing the Products Online
Writing a Shopping Cart
Handling Commerical Transactions

Chapter 8: Image Generation
Creating a Simple Image
Using TrueType Fonts
Creating a Database-Driven Graph
Saving and Building on Existing Images

Chapter 9: Creating PDFs
Creating a Simple PDF
Adding Text to PDFs
Drawing Shapes
Using Images
Creating Multiple-Page PDFs

Chapter 10: XML and PHP
What is XML?
XML Syntax
Document Type Definitions
Parsing XML With PHP
XML Error Handling

Chapter 11: Networking with PHP
Accessing Other Web Sites with PHP
Using fsockopen()
Creating RSS Feeds
Using Curl
Understanding Streams

Chapter 12: PHP and the Server
Establishing a Cron
Task Manager on Windows
Compressing Files with PHP
Using COM with PHP
PHP on Windows
Running Two Versions of PHP with Apache

Chapter 13: Using PHP's Command Line Interface
Basic Syntax
Working with Command Line Arguments
Redirecting Output

Chapter 14: Improving PHP Performance
Installation Options
Configuration Options
Using an Op Cache
Coding Suggestions
Database Suggestions
Using Benchmarks
Using Profiling
Performing Unit Tests

Appendix A: Installation
Installing PHP with Apache on Linux
Installing PHP on Windows with Xitami
Installing PHP on Mac OS X with Apache
Running Two Versions of PHP with Apache

Appendix B: Databases
Database Applications
MySQL Resources
Other Resources

Appendix C: General Resources
PHP-Specific Sites
Additional Libraries
Other Resources

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews