PHP 4 Bible 1st Edition
| Tim Converse (Author) Find all the books, read about the author, and more. See search results for this author |
Use the Amazon App to scan ISBNs and compare prices.
Why you need this book:
* Comprehensive tutorial for PHP4: covers all the basics of PHP 4, and how to use PHP to connect HTML- and XML-based web pages to databases.
* Essential reference for programmers: provides extensive PHP case studies, and appendices that get you up and running quickly if you have a experience with JavaScript, ASP, Perl and C/C++
* Covers the key features and improvements in PHP 4
* Advance topics include: building graphics, classes and objects, sessions, cookies, and real-life case studies
* Expert authors: Tim Converse is a programmer with experience in web developer and who instructs at the University of Chicago. Joyce Park is a writer on open source topics and web developer who creates sites using PHP.
Editorial Reviews
Amazon.com Review
PHP 4 Bible is as comprehensive a discussion as you will find about this fascinating language, which can hold its own against commercial competitors like Microsoft Active Server Pages and Allaire ColdFusion. It covers the core elements of the language and its syntax with critical applications of PHP, such as database access and XML integration. The chapters follow a traditional tutorial style, which is helpful to those who are new to PHP.
An introduction to the basic language constructs, control structures, and functions leads off this book in a comfortable way for readers who are versed in other languages, such as Visual Basic. Very practical chapters, such as "Basic PHP Gotchas," help keep students out of trouble as they get their feet wet in PHP. For database access--a critical application of PHP in the real world--the focus is appropriately on MySQL, a simple, cross-platform SQL database.
Plenty of code examples and a companion Web site with downloadable code fill out this tutorial nicely. It is a one-stop way to learn PHP inside and out. --Stephen W. Plain
Topics covered:
- PHP syntax
- Variables
- Data types
- Control structures
- Custom functions
- Specialized functions
- File-system functions
- Style tips
- PHP "gotchas"
- SQL introduction
- Database access
- Sessions
- Cookies
- JavaScript integration
- E-mail access
- XML integration
- Object-oriented programming by using PHP
From the Publisher
Get up to speed on relational database design
Connect Web pages to backend databases
Build complete user experiences with session-tracking
Use PHP for object-oriented programming
Connect your PHP code directly to e-mail programs
Secure your Web site against attacks
Employ cookies and redirection
Avoid common bugs and development stumbling blocks
BONUS COMPANION WEB-SITE packed with code and examples
From the Inside Flap
Joyce Park fell into Web development as a form of dissertation avoidance while studying/teaching history at the University of Chicago, from which she earned an MA. She has worked on several systems that combine deep content with AI techniques, such as the award-winning MysteryGuide.com; most of those were developed in PHP3. Joyce contributes documentation to various OSS projects, and her essays have garnered praise from the editors and readers of Slashdot, OSOpinion, SolarisCentral, Linux.com, and many others worldwide. Having herself clawed her way up from the very bottom of the technological ladder, she's in a good position to understand what newbies really want to know but are afraid to ask.
From the Back Cover
If PHP 4 can do it, you can do it too…
So, you want to create dynamic database-driven Web pages? This authoritative reference is packed with case studies to lead you successfully through the latest version of this server-side HTML-embedded language. Whether you're an HTML designer, or C coder, or a Web programmer using ASP, JSP, Perl, or ColdFusion, you'll get the most out of this open source alternative using this reliable guide. Inside, you'll find how-to's on everything from getting started to modify freely-available scripts — so you won't have to write from scratch!
Inside, you'll find complete coverage of PHP 4
- Get up to speed on relational database design
- Connect Web pages to backend databases
- Build complete user experiences with session-tracking
- Use PHP for object-oriented programming
- Connect your PHP code directly to e-mail programs
- Secure your Web site against attacks
- Emply cookies and redirection
- Avoid common bugs and development stumbling blocks
Get up and running quickly with numerous PHP examples
Create dynamic content-rich Wen sites with PHP 4
Master the key new features of the latest version
About the Author
Joyce Park fell into Web development as a form of dissertation avoidance while studying/teaching history at the University of Chicago, from which she earned an MA. She has worked on several systems that combine deep content with AI techniques, such as the award-winning MysteryGuide.com; most of those were developed in PHP3. Joyce contributes documentation to various OSS projects, and her essays have garnered praise from the editors and readers of Slashdot, OSOpinion, SolarisCentral, Linux.com, and many others worldwide. Having herself clawed her way up from the very bottom of the technological ladder, she's in a good position to understand what newbies really want to know but are afraid to ask.
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.
Product details
- Publisher : Wiley; 1st edition (August 31, 2000)
- Language : English
- Paperback : 720 pages
- ISBN-10 : 076454716X
- ISBN-13 : 978-0764547164
- Item Weight : 2.63 pounds
- Dimensions : 7.46 x 1.55 x 9.16 inches
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
4 stars for completeness and sheer bulk, and because it makes an EXCELLENT reference for PHP programmers. It tries to do too much, however... and doesn't provide a good introduction to PHP. If you're new to PHP and programming, I recommend PHP Essentials be your first book, and that PHP 4 Bible be your guide after you outgrow PHP Essentials.
A "Bible" should have a comprehensive introduction to the basics in the beginning. This book seems to blast past that in a hurry to get to databases and other subjects.
Many times something new is presented and not clarified or clarified later. An example is the modulus ( % ), they place it in an example, and then two paragraphs later they tell you what it is for and not to worry - it's all in a later chapter. An awful lot of things are brought up this way. It makes for herky jerky reading. Nothing is linear.
As a reference, it's not very good. An eample would be the modulus above. I think it and other math operators should all be introduced in one place. Introduce it as a basic concept and then you can use it later. They cover math operators and then later tell you there are more math operators. The appendices in the back are flimsy and useless. More meat would be nice.
In chapter 3 getting started, nothing about the installation on my PC went according to the book. The directions for setting up Windows 2000 were outdated and I had to make some guesses. The latest version of PHP does not install anything like the book says. Ya, I found out after I bought this, that they had just released a new version of the book. Unfortunatly I bought this for a class I was taking. I am stuck with it.
It surprises me that a book on a language that can be installed on so many platforms has so little in it about installation issues. The size of the book is much smaller than the JavaScript Bible. How can that be? It's a much richer language.
This is NOT one of those many computer books apparently thrown together at the last second to meet a deadline with lots of fluff and little useful content. This book answers real world questions like:
How do I create and maintain sessions?
How do I create and utilize MySQL databases?
Where do I find a host for my web site?
What are some common gotchas in PHP4?
Why doesn't this page work?
How do I send email from a page?
How do I pass information from page to page?
How does PHP compare to other scripting languages?
How do I use string, math functions, and arrays?
How do I build and use functions and classes?
What are the differences between PHP3 and PHP4?
The book has very useful example code. All this and very readable.
There may be better books on this subject, but I wouldn't know as I haven't needed to buy additional books because this book has answered all my questions.
The book is well structured. It begins by explaining concepts in a non-confusing way. It allows you to feel confident with basic terminology, and begins at the beginning so that you understand control structures, functions and syntax from the core up. There are also plenty of cross-references so that you can see where you are going. The writers also did a great job to anticpate my questions -those bits where you go "eh?"- and to highlight and effortlessly resolve such areas where the language is apparently ambiguous or confusing. I was never "lost" at any point in this book.
In this way it differs from most programming books i have tried; most lose interest in the beginners after a few pages and start introducing new terms and techniques arbitrarily without flagging them up and explaining them. I already had Julie Meloni's PHP Essentials but had to give up on it for this exact reason.
PHP4 Bible is NEVER guilty of this (with the exception of the chapters on Object Oriented Programming); this is its most commendable feature. (By contrast, Meloni's book is for a programmer's programmer or a "see one-do one" learner, not for a beginner, although it might provide an excellent companion when one needs to refer to code samples.)
Other reviewer's have complained that the code samples are not applicable or fun. I think this misses the point in that the samples are designed specifically to explain a concept; there is no need to execute them all as you can just read many of them. There are plenty of other sources for useful code samples out there for those who want them.
The key thing about this book is that it is great if you are someone who likes to break things down into manageable concepts as you go. I think many true-blue hackers do not like this book as they have more of a "see one - do one" learning method relying on trying things out and learning by experience.
For me, this book almost gets 5 stars. It doesnt because there are a couple of chapters that feel half-finished and fall far below the others in terms of clarity. Hopefully these will be fixed in the next edition! I like the style of the writers, the style is human, any humour is nicely understated and BEST OF ALL they NEVER make the mistake of (gggnn!!)trying to "be your friend".

