"Practical PHP and MySQL reflects Jono's commitment to the spirit of making open source subjects accessible to everyone. The book carefully walks you through the code for eight useful, dynamic Web applications. Projects are presented in a playful way, like the forum project that touts horror movies that make you 'hide behind the couch.'"
-From the Foreword by Christopher Negus, Series Editor, Negus Live Linux Series
Build Dynamic Web Sites Fast, with PHP and MySQL...
Learn from Eight Ready-to-Run Applications!
Suddenly, it’s easy to build commercial-quality Web applications using free and open source software. With this book, you’ll learn from eight ready-to-run, real-world applications—all backed by clear diagrams and screenshots, well-documented code, and simple, practical explanations.
Leading open source author Jono Bacon teaches the core skills you’ll need to build virtually any application. You’ll discover how to connect with databases, upload content, perform cascading deletes, edit records, validate registrations, specify user security, create reusable components, use PEAR extensions, and even build Ajax applications.
Working from complete examples on the CD-ROM, you’ll create
JONO BACON is Ubuntu community manager for Canonical, Ubuntu’s sponsor. He is an established speaker, author, and contributor to the open source community. Bacon co-authored Linux Desktop Hacks and The Official Ubuntu Book; has served as a columnist for Linux Format, Linux User & Developer, and PC Plus; and is an O’Reilly Networkweblog author. He is a lead developer onthe Jokosher (www.jokosher.org) project,and co-founder of LUGRadio—a podcastwith more than 15,000 listeners, andan annual event that attracts visitorsfrom around the world.
About the Author xii
Chapter 1 A New Approach 5
Chapter 2 Getting Started with PHP and MySQL 15
Chapter 3 Running the Projects 53
Chapter 4 Building a Weblog 63
Chapter 5 Discussion Forums 111
Chapter 6 Creating a Shopping Cart 169
Chapter 7 Building an Online Auction Site 219
Chapter 8 Creating a Web-Based Calendar 265
Chapter 9 FAQ Content Management System 303
Chapter 10 Building a Re-Usable Project 379
Chapter 11 Building a News Web Site 425
Appendix A Web Site Design 469