MasteringPHP 4.1 Paperback – Apr 22 2002
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
To get the free app, enter your e-mail address or mobile phone number.
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.
- 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 (www.nothingspecial.com).
Inside This Book(Learn More)
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
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Top Customer Reviews
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.
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?
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 ›
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.
Most recent customer reviews
No matter how you learn or what competency you have, this is one of those rare books that is so good you will find it invaluable. Read morePublished on March 14 2010 by Scott Carson
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. Read morePublished on Sept. 19 2002 by James E Airey
Look for similar items by category
- Books > Computers & Technology > Hardware > Internet & Networking
- Books > Computers & Technology > Internet & Social Media
- Books > Computers & Technology > Networking & Cloud Computing > Networks, Protocols & APIs
- Books > Computers & Technology > Programming > Languages & Tools
- Books > Computers & Technology > Software
- Books > Computers & Technology > Web Development > Programming
- Books > Textbooks > Computer Science & Information Systems > Programming Languages