Advanced PHP for Web Professionals

Advanced PHP for Web Professionals
By Christopher Cosentino
Publisher : Prentice Hall PTR
Pub Date : October 29, 2002
ISBN : 0-13-008539-1
Pages : 368

In this concise, hands-on tutorial, PHP expert Christopher Cosentino delivers dozens of powerful new techniques for building serious Web applications. Through professional-quality examples drawn from his six years as a PHP developer, Cosentino walks you through building friendlier, more usable sites; improving user authentication; generating dynamic graphics; parsing XML documents; building database-independent Web applications; and much more!

•  Index
•  TOC
Advanced PHP for Web Professionals
By Christopher Cosentino
Publisher : Prentice Hall PTR
Pub Date : October 29, 2002
ISBN : 0-13-008539-1
Pages : 368
    The Prentice Hall PTR Advanced Web Development Series
    About Prentice Hall Professional Technical Reference
      Goal of This Book
      Who This Book Is For
      Getting the Code
      The Fine Print
    Chapter 1.  PHP Review
      PHP Syntax
      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
      Putting It All Together
      Variable Variables
    Chapter 5.  Using What You Have Learned—A Simple Shopping Cart
      Features of the Shopping Cart
      Setting It Up
      The Code
    Chapter 6.  Working with Files
      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
      Error Reporting
    Chapter 9.  Using What You Have Learned—A Meeting Tracker Application
      Setting It Up
      The Code
    Chapter 10.  PHP and XML
      Creating an XML Parser
      Parsing and Transforming XML Documents
      Dumping Database Contents into an XML File
    Chapter 11.  Generating Dynamic Graphics with PHP
      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