Home > Store

PHP 5 Advanced: Visual QuickPro Guide

Register your product to gain access to bonus material or receive a coupon.

PHP 5 Advanced: Visual QuickPro Guide

eBook (Adobe DRM)

  • Sorry, this book is no longer in print.
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:

    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.
Not for Sale


  • Copyright 2007
  • Dimensions: 7" x 9"
  • Edition: 1st
  • eBook (Adobe DRM)
  • ISBN-10: 0-321-49617-5
  • ISBN-13: 978-0-321-49617-1

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.

Sample Content

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


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership