Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

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.

Core PHP Programming [Paperback]

Leon Atkinson
3.3 out of 5 stars  See all reviews (42 customer reviews)

Available from these sellers.


Amazon Price New from Used from
Hardcover --  
Paperback --  
Paperback, 3 Aug 2000 --  
There is a newer edition of this item:
Core PHP Programming Core PHP Programming
In stock.

Book Description

3 Aug 2000 0130893986 978-0130893987 2

For courses in Web Programming and Design and Numerical Methods.

This thoroughly updated and revised second edition of the best-selling developer's guide features a comprehensive reference with examples of every key PHP function. The edition also covers all the latest developments in the language; in particular, PHP's newest version 4.0 and that PHP now works with Microsoft's Internet Information Server so PHP can be used on Windows NT/2000 running IIS.

Product details

  • Paperback: 800 pages
  • Publisher: Prentice Hall; 2 edition (3 Aug 2000)
  • Language: English
  • ISBN-10: 0130893986
  • ISBN-13: 978-0130893987
  • Product Dimensions: 17.6 x 5.4 x 23.3 cm
  • Average Customer Review: 3.3 out of 5 stars  See all reviews (42 customer reviews)
  • Amazon Bestsellers Rank: 5,279,845 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

Amazon Review

Revised for PHP version 4, the new edition of Core PHP Programming is a comprehensive tutorial and reference to one of today's hottest scripting languages. Part tutorial and part reference, this book will get beginners started with PHP, as well as provide a convenient desktop resource for more experienced PHP developers.

Early sections show what PHP is and how it works, with basic data types, flow control, and other topics you'll need to get started. But the heart of the book is a full reference to PHP 4 functions. Organised by topic, this text provides over 400 pages of reference to several hundred PHP calls, along with a description of what they do. Clearly organised and presented, this book will help you find what you need quickly (instead of relying on PHP's often cumbersome online help). In particular, readers will appreciate the coverage of database functions, including the separate calls for MySQL, ODBC, and Oracle. You'll also see what PHP can do with XML.

The last part of the book reverts to tutorial mode, first with a section on algorithms that discusses ways to sort and search PHP arrays. Final sections look at some strategies you can use to integrate PHP into the software design process, in which the strategies of combining HTML content with dynamic PHP scripts are shown. There is also useful advice for increasing performance with PHP. (It would seem that upgrading to PHP 4 is a must, because the new version offers a real performance boost.)

PHP is clearly a popular choice for Web applications today. If you buy just one book on PHP, consider Core PHP Programming. It offers an approachable tutorial that will put basic PHP script development into the hands of beginners, and provides a useful reference for everyday development once you've gotten a handle on how to use it. --Richard Dragan

From the Publisher

summary and table of contents
This book is a guide to programming in PHP, a server-side scripting language primarily designed for use with the Apache web server. PHP is a high-level, C-like scripting language that is designed to be embedded in HTML pages. Unlike Javascript and jscript. PHP is not browser dependent. A CD-ROM with all source code and compiled versions of the Apache Server will be included.




1. An Introduction to PHP. 2. Variables, Operators, and Expressions. 3. Control Statements. 4. Functions. 5. Arrays. 6. Classes. 7. I/O and Disk Access.


8. I/O Functions. 9. Data Functions. 10. Mathematical Functions. 11. Time, Date, and Configuration Functions. 12. Image Functions. 13. Database Functions.


14. Sorting, Searching, and Random Numbers. 15. Parsing and String Evaluation. 16. Database Integration. 17. Generating Graphics.


18. Integration with HTML. 19. Design. 20. Efficiency and Debugging. Appendix A. Backslash Codes. Appendix B. ASCII Codes. Appendix C. Operators. Appendix D. PHP Tags. Appendix E. Installing PHP. Index. --This text refers to an out of print or unavailable edition of this title.

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

Most Helpful Customer Reviews
2 of 2 people found the following review helpful
5.0 out of 5 stars Bottom line - Toatally glad I bought it. 15 July 1999
By A Customer
I bought this book even after reading a mixture of negative and a few positive reviews, and am so glad I did. I had many questions about PHP and correct syntax that the online manual simply did not answer - this book does answer them, and a lot more.
Without this book I would have spent a lot of time submitting questions to mailing lists and waiting for answers. For example, if; elseif; else; is explained and an example is provided that makes it so easy to understand, the first time I used it it worked perfectly first time. This is a fairly basic example, but the book contains so many useful examples and real- useable ones too. The important thing is, I had never used if,elseif,else before to build a dynamic web page, and after reading the example in this book, it worked FIRST TIME!
As a result of this book being on my desk for a week I have transformed one site from a mass of pages to an application with a smaller number of actual pages that respond to users' clicks appropriately - thanks to a better understanding of PHP.
Tie in the examples in this book with the stability of the UNIX server, mySQL and PHP3 and you're on to a winner.
If you even think you need this book, I would say buy it! But then, the choice is yours.
Comment | 
Was this review helpful to you?
2.0 out of 5 stars Good and Bad 19 Jun 1999
By A Customer
Mr. Atkinson is a nice guy... but this book was rushed to market, and will be qualitatively beneath the next PHP books. As a handy paper source, it is sufficient.
After flying through this book, I was comfortably writing 300 line PHP scripts to access Oracle databases and contextually format very complicated web pages. My general happiness with life right now is probably due more to PHP than to this book.
One example of this book's problems: function calls are sorted alphabetically. Thus, you'll get to "closedir" way before you get to "opendir" or "readdir". Also, the function titles go like "string urlencode(string url_text)" -- which means that you have to read the SECOND word of every heading to see the (alphabetical) function name and the FIRST word to see what the function returns. Function descriptions are generally sorted into "File", "Database", "RegExp" etc., which further frustrates any quick reference attempts.
The book is not in depth. If you're wondering whether you can regexp with a variable during a directory read, you're out of luck. I found myself wishing Larry Wall (of Perl) had written the book.
The thing is, I probably know more about PHP after one week exposure to PHP than the book does. A good reference book is supposed to constantly refresh and enlighten you. Lastly, keep your pen handy, because this early edition's code has some errors that you'll want to correct on the page. The CD-ROM also has those errors.
Comment | 
Was this review helpful to you?
By A Customer
I have been using PHP in various forms for over a year, and would not consider developing a site without it. I have the complete PHP manual printed out on paper and the HTML version stored in a sacred place on my hard drive. I refer to both often.
Like most burgeoning open-source technologies, PHP has the technology developed first, docs second -- sometimes a very distant second. Although the manuals at the PHP site are very good, they do leave a bit to be desired when it comes to real-world examples. They're primarily academic in nature and aimed at folks who already understand programming.
This book starts with some programming basics applied specifically to the PHP enviroment, fleshes out the manuals with real-world exmaples, and much more. It's a must-have for anyone developing in PHP or even considering it. The examples are clear and concise. I learned quite a bit from a quick scan, and I considered myself a bit of an expert.
My only criticism would stem from the layout of the book istelf. There are many many source code listings, and references to these listings in the text often occur several pages before or after the listings themselves. This necessitates quite a bit of really unncessary page turning. Many of the source cod listings are very short and could have easily been contained on the same apge as the references.
If not for this, I would rate the book 5 stars -- the content is worth it.
Given the price and complexities of competing technologies (ASP, Cold Fusion, etc.), PHP is a steal -- it's free. We need books like this to help keep that community alive. Good job Leon!
Comment | 
Was this review helpful to you?
By A Customer
If your looking to get up to speed with PHP and are reasonably comfortable with C or C++ then this is your answer. From getting the distribution of PHP compiled (on Linux) or just installed (Windows) you will be admiring your first working scripts within the hour.
Somehow Mr Atkinson weaves straight, comprehensive information directly into an interesting prose. The reference sections have been thorough enough for me to get my work done without questions going unanswered.
With comprehensive coverage of the major database management systems available you will be able to confidently put together your DBMS powered Web Site in no time.
My only suggestion for the third edition would be a more comprehensive index to the function reference sections as you sometimes have to guess how a function would be classified before you can identify it.
Altogether a very good package from Leon Atkinson, who is a active contributor to the PHP movement.
Note to the Author: What we need now is a cook book!
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
4.0 out of 5 stars Good, good, good
Very well written book. Detailed, well organised good for rookies and for pros. My only concern (that's why one missing star) is about the not totally complete coverage of PHP... Read more
Published on 14 Dec 2001
5.0 out of 5 stars A good book!
I like this book a lot. The acutal text isn't that good, but I really like the list of commands, and the examples it gives. This book is very good.
Published on 26 Mar 2000 by sheepcow@fusion-core.com
5.0 out of 5 stars The Ideal book for someone coming at PHP for the first time
It was database administrator friend of mine told who first told me about PHP and everything it was cappable of. Read more
Published on 3 Mar 2000 by will@willz.demon.co.uk
1.0 out of 5 stars Not for beginners
I've read this book and it is very complicated, the author used a lot of words that I could not understand.
Also a lot of the examples mentioned didn't work on my computer.
Published on 1 Mar 2000
2.0 out of 5 stars Not much more than the online documentation
This book doesn't really give you anything you can't get from the online documentation. There are very few examples longer than a couple of lines. Read more
Published on 30 Jan 2000 by Dr. J. Moores
2.0 out of 5 stars Great for beginners - not enough for Advanced Users though
I started coding in PHP a week ago, and picked it up quick enough. I found the PHP Mailing List very useful, and I also had a Web Server to try out code on. Read more
Published on 10 Jan 2000 by will@localads.net
4.0 out of 5 stars Good book with lots of careless typos
Since this is the only book about PHP available in English, it's pretty much what there is. The book is very helpful and got us up and running with PHP applications. Read more
Published on 23 Aug 1999
5.0 out of 5 stars Great Reference!
This book gets to the point!. If you already program and just need a good reference manual with simple (that's good) examples THIS IS THE BOOK!. Read more
Published on 13 Aug 1999
4.0 out of 5 stars Part 1 is best
Part 1 of the book is best. I was already proficient in C, Perl, Java. So I was able to quickly skim through the book and get into production right away. Read more
Published on 9 Aug 1999
5.0 out of 5 stars Title is exactly that, CORE PHP Programming
I found the CD alone worth the price of admission, easily got the NT version up-and-running that night. This book made me an instant PHP 'convert'. Read more
Published on 8 Aug 1999
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category