Vous voulez voir cette page en français ? Cliquez ici.

Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Mastering PHP 4.1 [Paperback]

Jacek Artymiak
4.1 out of 5 stars  See all reviews (7 customer reviews)

Available from these sellers.


Join Amazon Student in Canada


Book Description

April 8 2002 Mastering
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

Product Details


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

Featured on the CD The enclosed CD contains PHP 4.1 along with all the sample code from the book and projects that you can adapt and use in your own site. You also get all the official PHP documentation and full copies of Apache web server and MySQL RDBMS.

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.com).

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
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

4.1 out of 5 stars
4.1 out of 5 stars
Most helpful 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?
1.0 out of 5 stars Worst PHP book Oct. 19 2003
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?
5.0 out of 5 stars Yep, 5 stars from me, too. Feb. 11 2003
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?
3.0 out of 5 stars Extensively mediocre... Feb. 4 2003
By A Customer
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?
Want to see more reviews on this item?

Look for similar items by category


Feedback