SAMS Teach Yourself PHP4 in 24 Hours (2000).pdf

(2515 KB) Pobierz
Microsoft Word - Hour 1.doc
1
217765659.001.png
2
SAMS Teach Yourself PHP4 in 24 Hours
Matt Zandstra
A Division of Macmillan USA
201 West 103rd St., , Indianapolis, Indiana, 46290 . USA
Copyright © 2000 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
omissions. Nor is any liability assumed for damages resulting from the use of the information
contained herein.
International Standard Book Number: 0-672-31804-0
Library of Congress Catalog Card Number: 99-65599
Printed in the United States of America
First Printing: June 2000
03 02 01 00 4 3 2 1
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.
This publication was produced using the Advent 3B2 Publishing System.
Every effort has been made to make this book as complete and as accurate as possible, but
no warranty or fitness is implied. The information 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 or from the
use of the programs accompanying it.
Dedication
For my father: Who would have approved.
About the Author
Matt Zandstra ( matt@corrosive.co.uk> ) runs Corrosive Web Design
(http://www.corrosive.co.uk) with his business partner Max Guglielmino. A compulsive scripter,
he has developed software in PHP, Java, JavaScript, Perl, Lingo, and AppleScript. Matt
217765659.002.png
3
originally graduated in philosophy and has learned his trade by reinventing wheels and then
working out why they don't run straight. Matt has taught courses in HTML, JavaScript, Perl,
and PHP and was a contributing author to Dynamic HTML Unleashed . When not coding, Matt
is a committed urban cyclist, a Guinness drinker, an obsessive reader, and a writer of
unpublishable short stories. One day he claims he will write a novel.
 
4
Acknowledgments
The open source concept made both my career and this book possible. I would like to thank all
those people whose voluntary efforts continue to defy the received wisdom.
Particular thanks to the PHP community, especially contributors to the PHP mailing lists whose
postings revealed pitfalls, suggested techniques, and kept me amused.
From Macmillan, I would like to thank Randi Roger for suggesting me for this project as well as
Jeff Schultz, Paul Schneider, and Scott Meyers for support and tolerance as deadlines loomed
and panic set in.
Thanks must also go to all at Corrosive for putting up with my continued absence and my
extreme vagueness on any matter not pertaining to PHP. In particular, my business partner
Massimo Guglielmino, who kept the Corrosive show on the road under the usual stressful
circumstances, and Dave Urmson, who took over formatting when the going got tough. Other
Corrosive stars include Anisa Swaffield, Jeff Coburn, Mai Chokelumlerd, and Moira Govern.
I must also thank Small Planet (http://www.smallpla.net) for providing me with additional
development space and allowing me to use it to play with beta software. Particular thanks to
Mohammed Abba and Clive Hills, who recompiled PHP on the Small Planet system more
times than we care to remember.
One of the best ways to test a tutorial text is to use it in class. Thanks to my PHP students who
graciously agreed to act as guinea pigs.
Thanks also to my partner Louise and our new daughter Holly for being there, and bearing the
grumpy, hunched, and obsessed character I became while writing this book.
As my social life took second place to PHP, my local became a refuge for last minute pint and
proofing sessions. Thanks to Alan and Dora of the Prince Arthur for running the perfect pub.
Finally, thanks to the fishes, who cheered up a lurker.
Tell Us What You Think!
As the reader of this book, you are our most important critic and commentator. We value your
opinion and want to know what we're doing right, what we could do better, what areas you'd
like to see us publish in, and any other words of wisdom you're willing to pass our way.
You can fax, email, or write me directly to let me know what you did or didn't like about this
book— as well as what we can do to make our books stronger.
Please note that I cannot help you with technical problems related to the topic of this book, and
that due to the high volume of mail I receive, I might not be able to reply to every message .
When you write, please be sure to include this book's title and author as well as your name
and phone or fax number. I will carefully review your comments and share them with the
author and editors who worked on the book.
Fax: 317-581-4770
 
5
Email: <webdev_sams@mcp.com>
Mail: Mark Taber
Associate Publisher
Sams Publishing
201 West 103rd Street
Indianapolis, IN 46290 USA
 
Zgłoś jeśli naruszono regulamin