PHP for the Web: Visual QuickStart Guide (3rd Edition)

Welcome to the companion Web pages for the third edition of the book PHP for the Web: Visual QuickStart Guide, written by Larry Ullman and published by Peachpit Press. This page is specifically for the book’s third edition, published in December 2008 (ISBN 0-321-44249-0). The first edition was published in April 2001 (ISBN 0-201-72787-0). If you are using the first edition of the book, you should go to that page. The second edition was published in February 2004 (ISBN 0-321-24565-2). If you are using the second edition of the book, you should go to that page. The fourth edition was published in March 2011 (ISBN 0-321-73345-2). If you are using the fourth edition of the book, you should go to that page.

Beside the couple of pages dedicated to this edition of this book, there’s plenty of other content on that you might be interested in. Use the “Post Categories” links above to browse by general topic.

You can download the code for the book using the link below. If you have any questions or problems, I’d recommend using the book’s corresponding support forum, where you’ll get the fastest answer.


Every script in the text is available here to be downloaded. Some things you should know:

  • Although these scripts are named or numbered as they are in the book, they do include any updates and changes as warranted by errors that were found after publication. Thus, if you are having problems with a particular script, download the most current version here or check the errata section.
  • The URLs as referenced in the book (e.g. are not available for execution online.
  • These are the scripts for the THIRD EDITION of the book. If you are using a different edition, click the appropriate link above to find the correct page.
  • These scripts have been formatted with line breaks that will work on most systems running most text editors. If you have difficulty opening a script, try:
    • adjusting the way your text editor treats text files
    • using a different text editor, if possible
    • posting a message to the online forum, asking for help

Complete Set of Scripts (74 KB, last modified 07/07/2010)

15 responses to PHP for the Web: Visual QuickStart Guide (3rd Edition)

  1. Just wanted to let you know I’m really enjoying working through this book. Easy to understand. Finally gave in and learning PHP and your book is helping make it painless — and even fun.

  2. Larry
    YOU WRITE WELL. Rare in tech books. ?. Is there a ‘best’ header that I can copy paste for my php web pages.

  3. Hi Larry,
    Just getting back to this after years away and am wondering if I should restart with the 3rd edition or buy the newer one. My level of expertise at this point is total novice so your input would be greatly appreciated.

    • Hello Anne. Thanks for the interest in the book. If you already have the 3rd edition, it’s fine to pick that one up again (i.e., it’s not too out of date). The 4th edition does have some new content and features, but you’re just one edition behind.

  4. Thanks so much for the downloadable scripts as well as the great book! I’m setting up my contact form on my website, right now.

  5. Just got you 3rd edition. Great book, good organized and very simple for reading! Loaded all the scripts in one PHP Netbeans project, running by file. It’s so fun for learning! Thanks!

  6. Great Book Larry Sir.Helped me in learning php quickly and effortlessly.

Trackbacks and Pingbacks:

  1. Thinking about learning how to make and/or run a website - November 13, 2010

    […] work through the php tutuorial on w3schools. 9. COSTS – get a good introductory book on php such as PHP for the Web: Visual QuickStart Guide. If you look at my webpage you will see the result of teaching myself html, css, javascript, and […]

  2. What is Larry Thinking? #33 => Effortless E-Commerce and OOP – Larry Ullman - November 19, 2010

    […] the Real-World OOP chapter rewrites an earlier example from the book using OOP. Neither my “PHP for the Web: Visual QuickStart Guide” nor my “PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide” book […]

  3. More Links About HTML5 – Larry Ullman - November 23, 2010

    […] of this is in my mind lately, as I just started writing the fourth edition of my “PHP for the Web: Visual QuickStart Guide” book, and I had to decide what version of HTML or XHTML to use. I very strongly considered […]

Leave a Reply


Text formatting is available via select HTML. <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>