Fog Creek Software
Discussion Board

Best PHP Book?

I am looking for an outstanding PHP book.  Does anyone have any suggestions regarding PHP books that offer advanced topics like cookies, sessions, creating forums, etc..  I already know the basic stuff, I just want to learn the more advanced topics.

Or can someone point me to some good URLS that offer all the advanced topics without any B.S.?


Joe R.
Wednesday, August 11, 2004

Oh God. This is only a personal opinion, but PHP sucks the big one.

Ogami Itto
Wednesday, August 11, 2004

What's your point?

Joe R.
Wednesday, August 11, 2004

If you are looking for a more advanced discussion of php, try George Schlossnagle's "Advanced PHP Programming":

And here's an anti-recommendation: The book 'PHP Cookbook' (O'Reilly) is pretty weak -- most of the "recipes" are just descriptions of php functions (analogous to recipes for heating up a can of soup or toasting bread). Pretty disappointing.

Jordan Lev
Wednesday, August 11, 2004  has some good articles.

Also, for some really useful PHP tools, checkout:  -- a repository of modules for the building blocks of your apps.  -- a templating engine, so you can separate content from business logic, and also provides nice caching controls to improve performance.

Not sure about books.

One more thing,  I really like the PHPEclipse add on for eclipse:

If you don't know what eclipse is, it is an IDE designed for plugins to do just about any development related task you can think of, from Java, C++, CSS, HTML, PHP, database integration, source code control, etc.  It is run by IBM, at

Good luck.

Wednesday, August 11, 2004

Anony Coward
Wednesday, August 11, 2004

Thanks guys.

Joe R.
Wednesday, August 11, 2004

I'm a fan of Harry Feucks over at  He has started a little grassroots movement to use object oriented programming in PHP as much as possible (PHP5, when released, will help this cause much more).  He wrote a book for Sitepoint about advanced PHP.  You can check out a few of the chapters for free, or in the online tutorials he published which are basically chapters from the book.  He does a pretty good job of explaining how to apply OO principles in an actual PHP application.  He is also a big advocate of  the PEAR class library.

In my experience, people who say PHP sucks outright have usually not had any serious exposure to it in quite a while.  It is a very useful technology for the right kind of job.  I prefer it wholesale over classic ASP.  Obviously it doesn't scale like .NET of Java, but that's an apples to oranges comparison.  The right tool for the right job.  There are lots of legitmate jobs for which PHP is very much the right tool.  Especially once you learn how to use class libraries, template systems, etc.

Clay Whipkey
Wednesday, August 11, 2004

Slashdot acutaly good for something!

Reviews of the The PHP Anthology - Volume I and II out on Slashdot...

Wednesday, August 11, 2004

I was just researching this same topic yesterday:

PHP and MySQL Web Development, 2nd Edition:

Web Database Applications with PHP and MySQL, 2nd Edition:

I went with the latter because it's available through Safari Online. I'll probably pick up the PHP Anthology (Fuecks' site: because of that Slashdot review. It sounds like it's right up my alley.

Bill Brown
Wednesday, August 11, 2004

I know this sounds dumb, but why is it so hard to find screenshot's of the IDE on

Wednesday, August 11, 2004

*  Recent Topics

*  Fog Creek Home