Skip to content
Scan a barcode
Scan
Paperback Mastering PHP 4.1 with CDROM Book

ISBN: 0782129242

ISBN13: 9780782129243

Mastering PHP 4.1 with CDROM

Build Dynamic, Database-Driven Web Sites PHP is a fully developed, server-side embedded scripting language, and its importance for web application development has grown with the rise of the Apache web server. Are you a novice programmer? This book starts with the basics and takes you wherever you want to go. A seasoned pro? You2ll be amazed at how much you can capitalize on PHP2s power and object-oriented support, and how it leverages your knowledge of other languages. Finally, if you2re a PHP user in search of an authoritative reference, you need look no further. Mastering PHP 4.1 guides you through all levels of real-world web programming problems and provides expert advice on which solutions work best. Coverage Includes: Reading and writing files Validating data with regular expressions Accessing MySQL and PostgreSQL databases Accessing LDAP servers Generating images and PDF documents on the fly Building authentication and access-control systems Sending e-mail and building web-to-e-mail interfaces Creating your own classes Closing common security holes in PHP scripts Parsing and generating XML documents Using sessions to store persistent data Debugging misbehaving scripts Encrypting and decrypting sensitive data Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.

Recommended

Format: Paperback

Condition: Good

$23.19
Save $26.80!
List Price $49.99
Almost Gone, Only 1 Left!

Customer Reviews

4 ratings

Better than googling; code examples are not page-turners

Scenario: I'm an experienced programmer and I'd tinkered with PHP a little bit but needed to get going on a serious project. Fast.This book was the answer. It covers all the essential ground in a well structured way. Don't be fooled by the word "Mastering..." in the title. The author is not too frightened to give you another grounding in the basic principles behind web architectures - but he does it in such fluid fashion you won't get frustrated.This book will teach you great conventions and techniques to ensure you program effectively and give you a firm foundation on which to build robust, extensible projects. The chapters: "Forms and User Interaction" and "Data Validation" are excellent.Reading this book will incur a slight hit to your productivity. That's because the example projects are so illuminating that you'll just have to put the book down and try them out yourself. Within a few hours you'll have twenty-odd scripts open on your screen. That's pretty rare in a programming book. I usually rate them based on the brevity of the examples rather than vice-versa.Prior to picking up this book I'd been looking up the answers to my queries using my faithful old search engine. Now I rely on this book almost exclusively. There's no crud to wade through. This book provides the answers to your questions and knits them together in a solid fabric of clear explanations, real world examples, and good style.I think programmers of nearly every level would find this book useful.

Yep, 5 stars from me, too.

This is a review of two books. I'm going to tell you why I bought Mastering PHP 4.1, and why I did not buy PHP Bible, 2nd edition.First, I have the PHP Bible 1st edition, and a bunch of other PHP books. But they're all outdated now. One thing that has changed dramatically in the PHP language is the use of forms. PHP used to turn a form field named "comment" into a variable called $comment. But then for a while, $HTTP_POST_VARS['comment'] was preferred. And now $_POST['comment'] is the best way to get that form field (I think, I'm not even sure, it has changed so much).So I go looking for books that can really walk me through all these changes, and teach me the newest, best way to handle forms. PHP Bible mentions $_POST, and if that's all you're looking for -- the newest additions to the language -- then the Bible is worth considering. It's the most current. But PHP Bible really skimmed over forms. It doesn't even have "forms" in the table of contents (well, it does mention processing GET and POST input, all grouped in Chapter 9, "Passing Information Between Pages"). But that chapter is doing so many other things, forms get shortchanged.So I look at Mastering PHP 4.1, and right in the table of contents is a chapter on forms. I go through the chapter, and it's really good, even mentioning all the new variables for forms. The weak spot is that some of their code examples still rely on "register globals" -- but then they followup with a section on why to keep "register globals" off and they show an example of how to rewrite one of the scripts. That's pretty close to exactly what I wanted: I know the old way but want to learn the new stuff; they showed the old way, then they showed the new stuff.But there's more, and this is what solidified my choice. I tried looking up how to handle file uploads, either by PUT or POST. I looked in the index of the PHP Bible for $HTTP_POST_FILES, looked under "forms" for anything close, looked under "files" for anything close, looked for the "is_uploaded_file" function. Nothing. I skimmed Chapter 9, and did find mention of this, but pretty minimal. Then I looked to Mastering PHP 4.1. In the index under "forms" I see "uploading files" and turn to a page that has a nice walkthough with code. It also has a half-page discussion of some things you can do to secure the PHP code that handles file-uploading. While I'm reading this, I realize that any place there is some HTML in an example, it's actually XHTML compliant. Nice. I decide to buy Mastering PHP 4.1. I give PHP Bible 3 stars because a lot of the good stuff from the 1st edition is still there, and if you don't have specific needs, it's an OK book to use to learn PHP programming. But I give Mastering PHP 4.1 5 stars, even though it's a few months older, because it has a lot of the new info in a well-laid out format with a good index, good Table of Contents, and more well-developed content.

PHP made simple

This book is a great book if you want to learn php. It goes through all of the basics and adds a lot of detail if you choose to really dig in. The index is huge and has answers to 99% of the questions I have. The attached CD really helps a lot too, since you can see the code and interact with it. A book doesn't always cut it. I recommend this book to any php newcomer and to anyone who wants a guide to this great language.The section on SQL and database interaction also helps for those who want to work on interactive sites and storing user data. This book is the best php book I have come across yet.

A well written and comprehensive work.

I probably own more computer books than the local library. Some are very good, others are downright terrible. Mastering PHP 4.1 is in the former category.For starters, this book covers the newest version of PHP. An added bonus is the coverage of connecting to a PostgreSQL database. Other authors seem to assume that the only database in use with PHP is MySQL.The authors employ an excellent writing style. Important concepts are not "glossed over," and at the same time you are not continually reminded of the obvious.Excellent work, and that you.
Copyright © 2025 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks ® and the ThriftBooks ® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured