Welcome to the companion Web site for the third edition of the book PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro 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-52599-x). The first edition was published in May 2003 (ISBN 0-321-18648-6). If you are using the first edition of the book, you should go to that page. The second edition was published in June 2005 (ISBN 0-321-33657-7). If you are using the second edition of the book, you should go to that page. The fourth edition of the book will be published in Summer 2011.

Beside the handful of pages dedicated to this edition of this book, there’s plenty of other content on LarryUllman.com 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.

Downloads

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. http://www.DMCinsights.com/php/hello.php) 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:

Is the User management script still up-to-date regarding security. it seems to me its very vunerable to xxs and also simple sql statements since it does not check for the submitted “variable names” (not the values). i know it was not intended to be a complete version with tokens and so on but it might be needed to make the users aware of not using it on a live environment.

Hey Larry,
I read this book about a year ago when I knew very little about web development. It has a tremendous amount of information in it and I really learned a lot. Thank you for making a great book.

Really sorry! I was using a different database! Thanks for a great book and I just want to say it’s really kind of you to take the time to respond to users – you really don’t have to. I think you’re a great writer and any bad reviews on Amazon should be deleted! I look forward to buying your C++ book – that’s my next challenge!

No problem, John. Thank you for the very nice words and for the interest in my books. And, by the way, I always very much appreciate the positive Amazon reviews (in part to combat the negative ones). Cheers!

This book is invaluable to me. I was trying to learn PHP for years, and bought this in 2009 after failing miserably with other titles. I found the book to be very well written, and found that whilst the examples given work well throughout the book, they also work very well when individually referencing things. I was worried that a book on PHP & MySQL would lead me to be able to copy the code in the book and reproduce, but not so with this one. I can use this book as a base to write near enough any application I can think of.

Unlike all of my other much more impressive looking, clean, neat and tidy computing books, this one is battered, bent, scribbled in, and very well used – the sign of an excellent book! I’ve just ordered PHP Advanced Object Oriented Programming, and very much look forward to improving my development skills.

Hello Sir I’m feeling delighted just by writing comments, because I’m writing it to a well known writer.. I have just stepped in PHP, i hav downloaded several ebooks on php from 4shared.com but i fnd urs as the most expailnatory…….As i go through this book i will try to enhance my knowledge on php…Thanks a lot………

Hi Larry,
Your book is something else (i.e like a hand full of manner from heaven). Your style of writing is the best I have ever seen. I am currently working on a Social Networking site, and my phase of progress could be compared to the speed of light. This is because your book set out the path for me. Larry! if you were a Nigerian, I would have tagged you with the name: The General (In the Army). Thank you so very much

I really like the book. I’m doing the mySQL part of it and I was wondering what happened to the mySQL related scripts. Chapters 4 to 6 are missing from the downloadable set of scripts. Any suggestion. Thanks

Sir I also want to b a great web designer. I have learn in college. But I haven’t still not so good I want to b professional so pls let me know which book I start for PHP and Web developing. Hope to listen from you very soon

Are you aware that McAfee Site Advisor lists your forum as suspicious!
The message you get is:
“Whoa! Are you sure you want to go there?http://www.larryullman.com/forums/index.php?/forum… may be risky to visit.
When we visited this site, we found it exhibited one or more risky behaviors.”

Thanks, Rob, for the nice words. I’m not aware of that McAfee response, but thanks for bringing it to my attention. I just used McAfee’s tools to check my site’s status and didn’t find any issues reported, so it doesn’t look like there’s anything I need/should do here.

Nm, figured out it was in the includes folder. Was just thrown when I saw the other script folders and not 3.2.

Great book Larry, it’s definitely making it easy to learn. Went through an online guide from codeacademy.com. That was a good intro., but this is really giving me the nuts and bolts. I’m excited to be making progress on something I’ve been dreaming of learning for a few years. I’ve never thought of myself as someone who could become a programmer (I’m more of a business/marketing guy). Now that I’ve taken the plunge, your book is giving me the confidence to keep going. Thanks!

Dear Larry,
I really like this book. I am new for PHP. You gave me a good insight with example. Your book showed a lot of good topic. For instead , security, making universal sites, error handling and debugging….many more. Many Many Thanks.

Trackbacks and Pingbacks:

[…] astute reader asked me about this when they noticed that parts of my new book, “PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide”, requires PHP 6 but that it hasn’t been formally released yet. In fact, even in the appendix […]

Comments are great, but I'd strongly prefer any requests for assistance get made in the support forums. Thanks! Cancel reply

Subscribe to Larry’s Newsletter

You can subscribe to Larry's monthly (email) newsletter by providing the information below. I sometimes give away copies of my books through the newsletter, if you need further enticement.