Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Learning PHP 5 and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
47 used & new from $1.99

Have one to sell? Sell yours here
 
   
Learning PHP 5
 
 
Start reading Learning PHP 5 on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  
3.3 out of 5 stars See all reviews (25 customer reviews)

List Price: $29.95
Price: $19.77 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $10.18 (34%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

24 new from $10.00 23 used from $1.99
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $14.39
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Learning PHP 5 and get Learning PHP & MySQL: Step-by-Step Guide to Creating Database-Driven Web Sites at an additional 5% off Amazon.com's everyday low price.

Learning PHP 5 + Learning PHP & MySQL: Step-by-Step Guide to Creating Database-Driven Web Sites
Buy Together Today: $38.57

Show availability and shipping details


Customers Who Bought This Item Also Bought

Programming PHP

Programming PHP

by Rasmus Lerdorf
3.8 out of 5 stars (57)  $26.39
PHP Cookbook (Cookbooks (O'Reilly))

PHP Cookbook (Cookbooks (O'Reilly))

by Adam Trachtenberg
4.5 out of 5 stars (39)  $29.69
Web Database Applications with PHP & MySQL, 2nd Edition

Web Database Applications with PHP & MySQL, 2nd Edition

by Hugh E. Williams
4.3 out of 5 stars (57)  $29.67
Learning PHP and MySQL

Learning PHP and MySQL

by Michele E. Davis
3.2 out of 5 stars (26)  $21.89
Learning MySQL

Learning MySQL

by Seyed M.M. (Saied) Tahaghoghi
4.2 out of 5 stars (11)  $29.69
Explore similar items

Editorial Reviews

Product Description
PHP has gained a following among non-technical web designers who need to add interactive aspects to their sites. Offering a gentle learning curve, PHP is an accessible yet powerful language for creating dynamic web pages. As its popularity has grown, PHP's basic feature set has become increasingly more sophisticated. Now PHP 5 boasts advanced features--such as new object-oriented capabilities and support for XML and Web Services--that will please even the most experienced web professionals while still remaining user-friendly enough for those with a lower tolerance for technical jargon.

If you've wanted to try your hand at PHP but haven't known where to start, then Learning PHP 5 is the book you need. With attention to both PHP 4 and the new PHP version 5, it provides everything from a explanation of how PHP works with your web server and web browser to the ins and outs of working with databases and HTML forms. Written by the co-author of the popular PHP Cookbook, this book is for intelligent (but not necessarily highly-technical) readers. Learning PHP 5 guides you through every aspect of the language you'll need to master for professional web programming results. This book provides a hands-on learning experience complete with exercises to make sure the lessons stick.

Learning PHP 5 covers the following topics, and more:
How PHP works with your web browser and web server
PHP language basics, including data, variables, logic and looping
Working with arrays and functions
Making web forms
Working with databases like MySQL
Remembering users with sessions
Parsing and generating XML
Debugging

Written by David Sklar, coauthor of the PHP Cookbook and an instructor in PHP, this book offers the ideal classroom learning experience whether you're in a classroom or on your own. From learning how to install PHP to designing database-backed web applications, Learning PHP 5 will guide you through every aspect of the language you'll need to master to achieve professional web programming results.

About the Author
David Sklar is an independent consultant specializing in software development, strategic planning, and technical training. He was a co-founder and the Chief Technology Officer of Student.Com and TVGrid.Com. At both companies, David oversaw the architecture and development of varied systems to deliver personalized dynamic content to users around the world. After discovering PHP as a solution to his web programming needs in 1996, he created the PX (http://px.sklar.com/ ), which enables PHP users to exchange programs. Since then, he has continued to rely on PHP for personal and professional projects. He is the author of Essential PHP Tools (Apress) and the coauthor of PHP Cookbook (O'Reilly). When away from the computer, David eats mini-donuts, plays records, and likes to cook. He lives in New York City and has a degree in Computer Science from Yale University.


Product Details


Inside This Book (learn more)


Books on Related Topics (learn more)
 
Programming PHP by Rasmus Lerdorf
 

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(11)
(3)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

 

Customer Reviews

25 Reviews
5 star:
 (9)
4 star:
 (4)
3 star:
 (3)
2 star:
 (4)
1 star:
 (5)
 
 
 
 
 
Average Customer Review
3.3 out of 5 stars (25 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
83 of 87 people found the following review helpful:
4.0 out of 5 stars Fine introduction to php, October 17, 2004
By John A. Suda (Rochester NY) - See all my reviews
  
There are more new books being published about PHP than you can shake a joystick at. PHP (along with program friends - MySQL and Apache) has become very popular among developers and web designers, and for good reason. As a programming language, it is particularly suited to web development projects, while being relatively easy to write, use and learn. More importantly, it's open-source and free, cross-platform, and widely supported.

The book, "Learning PHP5", by David Sklar, is one of the latest volumes dealing with PHP. It describes itself as "a Pain-Free Introduction to Building Interactive Web Sites" and provides a gentle introduction to the latest version of PHP, which is version 5 and only recently available.

This book is not particularly useful for those experienced already with PHP, nor for those wanting to upgrade their knowledge of PHP from versions 4 and earlier to the newest version. It probably is not particularly useful for those power programmers who need and want a deep and comprehensive coverage of the topic. But it is a very well-written and designed introduction to PHP 5 for beginning programmers or those experienced PERL, ASP, or Cold Fusion programmers who want to learn a different language. There are many illustrations and code samples sprinkled throughout the book. Sklar, however, occasionally skims over some topics in furtherance of the completion of some practical examples.

The publisher is O'Reilly Media, Inc. which seems to have an editor's policy of covering complex computer-related topics in a comprehensive manner by publishing a range of volumes covering different aspects of a topic or from different angles or for different audiences. O'Reilly also publishes volumes on moving to PHP 5 ("Upgrading to PHP 5"), detailed and technical PHP ("Programming PHP"), and a collection of solutions to common PHP programming problems ("The PHP Cookbook").

The author, Mr. Sklar, is an experienced consultant in computer software development and technical training. He is the author of "Essential PHP Tools" and coauthor of the afore-mentioned "The PHP Cookbook". He takes a deliberate and comprehensive approach to explaining PHP 5, not in great depth, but with an intent of providing enough information, concepts, detail, and scope to create a pleasant and useful read of a technical subject. The basic promise of PHP is in the relatively easy creation of more dynamic and
interesting web sites which would include, for example, product catalogs, blogs, photo galleries, event calendars, forms, and more.

There are 13 chapters and 3 appendices. The early chapters provide an orientation to PHP including its place in contemporary web development, its basic rules, and its syntax. They explain the basic background of PHP and how it interacts with the browser and web server. Later chapters introduce primary concepts like loops, arrays, and functions. The idea here is to facilitate learning the fundamentals of the grammar and vocabulary. Chapters 2 through 12 have short exercises at the end of each to allow the reader to practice writing PHP code and to test learning. (The answers are contained in Appendix C.) Experienced programmers and geeks may recoil at the inclusion of these exercises, but they are useful for beginners.

Chapter 6 provides a practical exercise - how to make and use a web form. The author shows how to access form variables, how to validate user-inputted data for security and efficiency reasons, and how to process forms using functions. Chapter 7 shows how PHP interacts with database programs, like SQL and Oracle, but focuses primarily on MySQL, and demonstrates how to organize data, connect to a server-based database, create tables, and input and retrieve data.

The rest of the middle chapters cover the use and implementation of cookies and sessions, handling dates and time, and working with files. The practical exercise using dates and times is creating and displaying a monthly calendar. The final chapters provide brief but practical coverage of XML, debugging, and in Chapter 13, other PHP aspects. PHP is amazingly useful, flexible, and practical. One can deal with graphics, pdf-formatted documents, and other media like Flash and Shockwave. It also has mailing and file uploading functions, encryption capabilities, and for more experienced coders, the ability to run shell commands. The upgraded PHP 5 has new capabilities which now include object-oriented programming.

Appendix A covers installing and configuring PHP for Windows, Mac OSX, and Linux; Appendix B is a short primer on regular expressions and how to use them with PHP.

I found the book to be the most accessible introduction to PHP I have read. It provides the basic fundamentals, engages the reader in practical examples, reinforces learning with exercises, and provides an overall perspective on the scope of PHP programming.

Code examples used in the book can be downloaded at the O'Reilly site. More information is available at www.oreilly.com/catalog/learnphp5/index.html.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
79 of 83 people found the following review helpful:
5.0 out of 5 stars Practical PHP, not just a language summary, July 28, 2004
From the title I would have expected that the book spend all of it's slim 300 page frame on a soup to nuts language introduction. For the first six chapters it looks that way as it rolls through language basics, variables, conditionals, arrays, etc. But then it veers into the practical for the rest of the book and covers topics such as database access through Pear DB and the use of XML.

There is a lot to like about this book. The chapters are short, focused and practical. And I have no issues recommending the book on a technical level. Especially the database section which advocates simple safe SQL practices. In particular you should follow the advice on page 126 about using the '?' operator in your SQL queries.

There isn't much new for PHP 4 programmers looking to learn about PHP 5. In fact there is little or no emphasis placed on teaching you to write classes. The only information about classes is about their consumption. This is definitely not a book for the experienced PHP developer, but for a beginner this is one of the best.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 14 people found the following review helpful:
3.0 out of 5 stars Good place to start, but beware: no OOP coverage, January 5, 2005
By Matthew Echert (Seattle, WA USA) - See all my reviews
(REAL NAME)   
I picked up this book shortly after PHP 5 became available, expecting that because it's specifically about PHP 5 it would give some attention to PHP 5's new features over PHP 4. Most specifically I wanted to read about PHP 5's completely new Object Model, which is not a minor change. This book only mentions objects and classes in passing though, so it wasn't helpful to me at all in that regard. The chapter on working with databases has been helpful to me. It focuses mainly on PEAR DB but includes some good information about PHP 5's improved MySQL functions.

It's still a helpful book for programming PHP in general, and I do check it from time to time to brush up on syntax or look at example code. It reads pretty well and the examples are solid. If you're coming to PHP with prior experience in Java, Perl, or anything similar, you'll probably find the pace pretty slow. If you want a well-rounded introduction to PHP you'll do well with this book. If you're looking for information on more advanced topics like object-oriented programming, look elsewhere.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

1.0 out of 5 stars Not helpful
I got this book with my PHP class and found it so unhelpful, I had to purchase Head First (PHP & MySQL) instead. Read more
Published 1 month ago by G. Hudders

5.0 out of 5 stars Amazing Learning PHP 5
This books is amazing for the people who want know the new features in PHP 5
Published 20 months ago by Luis Jose Muãiz Rascado

5.0 out of 5 stars Great resource
Easy read. There are also so many examples, that I just want to test each one out. I highly recommend for anyone who doesn't know anything about PHP.
Published on May 9, 2007 by amnamka

4.0 out of 5 stars Happy to meet the challenge...
I cheated. I looked in the back of the book for the answers so I could understand the programmer's mind behind the solution. I'm getting so much out of this book! Read more
Published on March 23, 2007 by j-bone

4.0 out of 5 stars A note for Perl jocks
If you can't install all the Perl modules you want (say on a $12.99/month commercial host), give PHP a try. Read more
Published on February 3, 2007 by John

3.0 out of 5 stars some good tricks
If you're in a Windows shop, save yourself a lot of pain: download EasyPHP (mentioned on p. 261). Then substitute a version 5.2 php for C:\EasyPHP\php (which is version 4. Read more
Published on December 5, 2006 by Michael Sweeney

1.0 out of 5 stars Buggy Examples
Why do I have to give this even 1 star? The early examples in the book didn't work, so I put it down and never went back to it.
Published on November 30, 2006 by S. Stanicki

1.0 out of 5 stars Learning PHP 5 is a mis-nomer.
This mis-titled book is probably the worst book I've ever purchased from that most respected technical publisher, O'Reilly. Read more
Published on November 19, 2006 by R. J. Lennon

2.0 out of 5 stars stuck at chapter 7
I bought an O'Reilly book to teach myself perl & it was great. I'm writing a review about this one because I'm frustrated. Read more
Published on July 2, 2006 by Raphael J. Matto

1.0 out of 5 stars It's not good when a book for beginners has bugs in the code.
I'm sorry, but this book is just down right lousy. It was the very first book I ever picked up to teach me PHP. Read more
Published on March 16, 2006 by John Nelson

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

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


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Perfect Programming

Shop for programmable thermostats

Install a programmable thermostat to help reduce heating costs by ensuring your home is heated optimally. Shop for name-brand thermostats, including Honeywell and Lux, in Home Improvement.

Shop all programmable thermostats

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 
Shop for Power and Hand Tools
Shop for Power and Hand ToolsFind your favorite brands in the Power & Hand Tools Store.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates