Advanced PHP
Programming
Advanced PHP
Programming
Sams Publishing, 800 East 96th Street, Indianapolis, Indiana 46240 USA
DEVELOPER’S
L IBRARY
A practical guide to developing large-scale
Web sites and applications with PHP 5
George Schlossnagle
Advanced PHP Programming
Copyright © 2004 by Sams Publishing
All rights reserved. No part of this book shall be reproduced, stored
in a retrieval system, or transmitted by any means, electronic,
mechanical, photocopying, recording, or otherwise, without written
permission from the publisher. No patent liability is assumed with
respect to the use of the information contained herein. Although
every precaution has been taken in the preparation of this book, the
publisher and author assume no responsibility for errors or omis-
sions. Nor is any liability assumed for damages resulting from the use
of the information contained herein.
International Standard Book Number: 0-672-32561-6
Library of Congress Catalog Card Number: 2003100478
Printed in the United States of America
First Printing: March 2004
060504 4321
Trademarks
All terms mentioned in this book that are known to be trademarks
or service marks have been appropriately capitalized. Sams
Publishing cannot attest to the accuracy of this information. Use of a
term in this book should not be regarded as affecting the validity of
any trademark or service mark.
Warning and Disclaimer
Every effort has been made to make this book as complete and as
accurate as possible, but no warranty or fitness is implied.The infor-
mation provided is on an “as is” basis.The author and the publisher
shall have neither liability nor responsibility to any person or entity
with respect to any loss or damages arising from the information
contained in this book.
Bulk Sales
Pearson offers excellent discounts on this book when ordered in
quantity for bulk purchases or special sales. For more information,
please contact
U.S. Corporate and Government Sales
1-800-382-3419
corpsales@pearsontechgroup.com
For sales outside of the U.S., please contact
International Sales
1-317-428-3341
international@pearsontechgroup.com
Acquisitions Editor
Shelley Johnston
Development Editor
Damon Jordan
Managing Editor
Charlotte Clapp
Project Editor
Sheila Schroeder
Copy Editor
Kitty Jarrett
Indexer
Mandie Frank
Proofreader
Paula Lowell
Technical Editors
Brian France
Zak Greant
Sterling Hughes
Publishing Coordinator
Vanessa Evans
Interior Designer
Gary Adair
Cover Designer
Alan Clements
Page Layout
Michelle Mitchell