Buy Used
CDN$ 1.25
+ CDN$ 6.49 shipping
Used: Acceptable | Details
Sold by anybookltduk
Condition: Used: Acceptable
Comment: This book has soft covers. Ex-library, With usual stamps and markings, In fair condition, suitable as a study copy.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

MasteringPHP 4.1 Paperback – Apr 22 2002

4.1 out of 5 stars 7 customer reviews

See all formats and editions Hide other formats and editions
Amazon Price
New from Used from
"Please retry"
CDN$ 32.05 CDN$ 1.24

Save an Additional 10% on Textbooks When you Join Amazon Student

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your e-mail address or mobile phone number.

Product Details

  • Paperback: 709 pages
  • Publisher: Sybex; 1 edition (April 22 2002)
  • Language: English
  • ISBN-10: 0782129242
  • ISBN-13: 978-0782129243
  • Product Dimensions: 19.3 x 4.1 x 22.9 cm
  • Shipping Weight: 1.2 Kg
  • Average Customer Review: 4.1 out of 5 stars 7 customer reviews
  • Amazon Bestsellers Rank: #1,969,400 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • See Complete Table of Contents

Product Description

From the Back Cover

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? You’ll be amazed at how much you can capitalize on PHP’s power and object-oriented support, and how it leverages your knowledge of other languages. Finally, if you’re 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

About the Author

Jeremy Allen is an application developer for elliptIQ Inc. in Atlanta. He has been developing software, ranging from multiuser games to corporate intranets, for six years and has been creating programs in PHP since 1997. His wide variety of web applications ranges from content management systems to insurance apps.

Charles Hornberger is a software developer and writer living in Los Angeles. He has been using PHP since 1997 to build online stores, corporate intranets, web news sites, and meta-search engines. He is also a senior software developer for the web development and hosting company Nothing Special Network Services (

Inside This Book

(Learn More)
First Sentence
DEVELOPING APPLICATIONS AND SITES for the World Wide Web, or for Web-like uses such as intranets, has become one of the most extensive areas of computing and programming work. Read the first page
Explore More
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

4.1 out of 5 stars
Share your thoughts with other customers

Top Customer Reviews

Format: Paperback
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.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse
Format: Paperback
This is the worst PHP book i have seen. This is my 3rd. I bought this book expecting advanced topics like email and pdf and gd but this book really dissapointed me. We can call it a extended copy of the php manual. Without any practical applications, this book keeps on telling different functions with little code snippets like in the php manual. the book fills in the space by lengthy texts.
It really makes an easy to learn language like PHP much more difficult.
If this book had a title somethin like "PHP Reference Guide", then i wud have given this book 4 stars but since it misleads the poor beginners by saying "if u r a beginner, this book starts from basics" which is not correct in any case.
There are plenty of books for beginners and intermediates. A very good book recently released is (by Julie Meloni) PHP Essentials 2nd Edition so get it as its the best books for beginners you will ever find.
I just kept wasting my time in this long manual. i dont know how the other readers give it so good rating?
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse
Format: Paperback
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.
Read more ›
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse
By A Customer on Feb. 4 2003
Format: Paperback
While Mastering PHP 4.1 is a surely an interesting book, it is written quite amateurishly, which really does pique me.
For example, I would estimate that there is a typo every 3 pages, a grammar mistake every 10 pages, and a repeated word every 20 pages.
More importantly, the format is absolutely horendous. In almost every one of their sample programs, the authors employ the use of various PHP concepts that are not to be introduced until much later on...and they rarely explain why they introduced such concepts premateurly.
Almost every other page, I find myself flipping through the index, searching for a word that they forgot to explain.
Overall, a quite mediocre book.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse