Product Overview

The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition

The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition

“A comprehensive collection of ready-to-use PHP solutions!”

  • Over 100 easy-to understand PHP tips, tricks and hacks.
  • Save hours of time with "copy and paste" ready code.
  • All solutions are fully explained by five PHP gurus.
  • Learn the very latest object oriented PHP techniques.
  • And so much more…
$49.90 = Best Value!
$39.95
$29.95

*Purchase this book directly from sitepoint.com and receive a FREE PHP Reference Poster valued at $9.95 with your purchase.

Overview

Look inside

The reason over 20 million PHP based web sites exist today is that, when it comes to building data-driven web sites, getting started with PHP is extremely simple.

But the time will come where you need to dive into more complex solutions and that's when the fun really starts...

Enter, The PHP Anthology a book that proves that you don’t need a computer science degree to take advantage of the powerful features of PHP 5. 

Save time, and eliminate the frustration of completing PHP tasks, with this comprehensive collection of ready-to-use solutions. If you’re building web applications with PHP you’ll never let this book out of your sight!

Who are the Authors?

Ben Balbo Ben Balbo
Harry FuecksHarry Fuecks
  • technical writer, programmer, and systems engineer
  • lead developer of a corporate extranet
  • founder of  phpPatterns
Davey ShafikDavey Shafik
  • Over a decade of PHP experience
  • world renowned magazine writer, book author, and speaker
Ligaya Turmelle Ligaya Turmelle
Matthew Weier O’PhinneyMatthew Weier O’Phinney
  • Leading PEAR expert
  • core contributor to Zend Framework

Full Author Profiles

What Will You Learn?

Among its many treasures this book will show you how to:

  • Manage errors gracefully.
  • Build functional forms, tables, and SEO-friendly URLs.
  • Reduce load time with client-and server-side caching.
  • Produce and utilize web services with XML.
  • Secure your site using access control systems.
  • Easily work with files, emails, and images.
  • And much more... Too much to mention here!

Reviews

The chapters on error handling and access control are alone worth the price of the book.

Slashdot by Michael J. Ross November 28, 2007

What’s Inside?

Each chapter of this book is laid out in a problem–solution format. We’ll start with a common PHP problem that you may face, and then provide a concise solution to that problem. In some cases, when the topic warrants it, we’ll give you a brief discussion of the solution to provide context.

The chapters are grouped to cover the major areas of PHP. Inside, you’ll find solutions to the most common challenges that PHP developers face.

  • Chapter 1: Introduction

    A run-down of PHP’s class syntax, as well as a primer that explains how all the key elements of the object oriented paradigm apply to PHP are included in this chapter.

  • Chapter 2: Using Databases with PDO

    Everything you’ll need to get up to speed with the PHP Data Objects (PDO) extension is covered here.

  • Chapter 3: Strings

    String functions you can’t live without, along with an exploration of the processes for validating and filtering user-submitted content are the topics of this chapter.

  • Chapter 4: Dates and Times

    Use PHP’s date functions, and implement an online calendar. You’ll also obtain a solid grounding in the storage and manipulation of dates in MySQL.

  • Chapter 5: Forms, Tables, and Pretty URLs

    The essentials of web page forms and tables are covered here as is the process for developing forms with PEAR::HTML_QuickForm.

  • Chapter 6: Working with Files

    This survival guide to working with files in PHP shows how to create your own zipped archives with PEAR::Archive_Tar, and explains the use of the Standard PHP Library.

  • Chapter 7: Email

    Deal specifically with email-related solutions as this chapter shows you how to take full advantage of email with PHP.

  • Chapter 8: Images

    Watermark images on your site, prevent hotlinking from other sites, create an image gallery complete with Exif data, and produce a few professional charts and graphs—as well as CAPTCHA images—with JpGraph.

  • Chapter 9: Error Handling

    Understand PHP’s error reporting mechanism, and learn how to take advantage of PHP’s custom error handling features.

View the table of contents.

Who Should Read This Book?

The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd EditionIf you’ve already gotten your feet wet with PHP — perhaps having read Kevin Yank’s Build Your Own Database Driven Website Using PHP & MySQL, 3rd Edition and completed your first project or two with PHP —then this is the book for you.

If you’ve been asking questions like "How do I validate a web page form?”, “How do I add a watermark to my photos?”, and “How do I send automated email messages from my web application?”, you’ll find the answers in this book.

If you have the drive to progress your skills and improve your web application through concepts such as reusable components, caching performance, or web services, then you'll find this book to be an excellent primer.

No-risk Money-back Guarantee

Of course we’re so confident that you’ll treasure this book for years to come that we’re happy, as always, for you to try it risk-free for 30 days. If you purchase a copy of The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition and you don’t think it’s everything you wanted, we would like you to have your money back.

Simply contact us and we will see to it that you get a prompt and courteous refund of the full purchase price minus shipping and handling.

What could be fairer than this?

How To Order This Book

The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition

The fastest way to get your hands on the most recent version of The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition is by ordering it direct through us, the publisher, for $39.95.

Exclusive from SitePoint.com, for only $29.95 more you can purchase The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition in a downloadable PDF format to accompany your physical book purchase. Now you can read the entire book while you're waiting for your printed copy to arrive, and you can take the entire book with you on your laptop when you are away from the office!

Our top priority is to ensure that you get your shipped order as quickly as possible and in good condition.

Buy 2 or more printed books and get FREE shipping!

Just click the order link below to get an instant quote on the book, including shipping and handling, plus conversion of the price to your local currency if you live outside the USA.

We accept Visa, Mastercard, American Express, Delta and PayPal

All credit card transactions are processed by WorldPay.

Please direct all questions to our Customer Support Department.

 

Quality SitePoint Books
Our promise to you... Order direct from sitepoint.com and receive:
  • The very latest editions of all our books
  • Exclusive offers only available to direct customers
  • Lightning-fast shipping world-wide
  • 30 day money-back guarantee
  • FREE shipping when you order two or more books
Crazy offer

Special Bonus

Bonus $9.95 PHP Poster!

FREE with every purchase of ‘The PHP Anthology: 101 Essential Tips, Tricks & Hacks, 2nd Edition’ made through SitePoint.com

PHP Poster

Features:

  • Large, time-saving, format (17” x 24”)
  • Lists all the most commonly-used Array, MySQL, String functions and more.
  • Includes a complete PHP date & time format reference
  • Puts tricky Regular Expressions syntax (POSIX and PCRE) at your fingertips
  • Is ONLY available while stocks last
Take a closer look »

SitePoint Books

  • Advocate best practice techniques
  • Lead you through practical examples
  • Provide working code for your web site
  • Make learning easy and fun

100% Money Back Guarantee