Programming PHP

Pick Up in Store

Reserve and pick up in 60 minutes at your local store

Paperback (Second Edition)
$26.52
BN.com price
$39.99 List Price (Save 34%)
Marketplace (New and Used)
from
$8.23
$39.99 List Price (Save 79%)
All (22)  
Used (12)  
New (10)  
Close
Sort by
Page 1 of 3
Showing 1 – 10 of 22 (3 pages)
$8.23
(Save 79%)
Seller since 2010

Feedback rating:

(27)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Very Good
Very good condition. Absolutely no highlighting or markings inside the books. Good covers subject to prior use. (Some items may have creases or dings but are otherwise in ... excellent condition) NB: If an item is listed as having a CD/DVD, it will be included. Read more Show Less

Ships from: Front Royal, VA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$8.27
(Save 79%)
Seller since 2005

Feedback rating:

(46116)

Condition: Very Good
SHIPS FAST! via UPS(AK/HI Priority Mail) within 24 hrs/ used sticker/some hilite

Ships from: Columbia, MO

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$8.27
(Save 79%)
Seller since 2009

Feedback rating:

(2466)

Condition: Good
SOME HIGHLIGHTING AND PRICE STICKER

Ships from: Columbia, MO

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$8.32
(Save 79%)
Seller since 2011

Feedback rating:

(82)

Condition: Good
2006 Paperback Good Open Books is a Non-profit literacy organization and proceeds from the sale benefit literacy programs.

Ships from: Chicago, IL

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$13.00
(Save 67%)
Seller since 2012

Feedback rating:

(17)

Condition: Good
2006-05-05 Paperback Good Get it fast, ng716Get it fast.

Ships from: austin, TX

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$14.63
(Save 63%)
Seller since 2007

Feedback rating:

(3184)

Condition: Like New
Buy with confidence. Excellent Customer Service & Return policy.

Ships from: Richmond, TX

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
$19.55
(Save 51%)
Seller since 2005

Feedback rating:

(1483)

Condition: New
New

Ships from: Fort Worth, TX

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$20.04
(Save 50%)
Seller since 2012

Feedback rating:

(5)

Condition: New
All orders ship same business day via standard shipping (USPS Media Mail) if received by 1 PM CST. We do not ship to APO/FPO addresses.

Ships from: Richardson, TX

Usually ships in 1-2 business days

  • Standard, 48 States
$21.75
(Save 46%)
Seller since 2010

Feedback rating:

(87)

Condition: Good
0596006810 Used, in good condition. Book only. May have interior marginalia or previous owner's name.

Ships from: Punta Gorda, FL

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$22.70
(Save 43%)
Seller since 2010

Feedback rating:

(7941)

Condition: New
BRAND NEW FROM PUBLISHER! 100% Satisfaction Guarantee. Tracking provided on most orders. Buy with Confidence! Millions of books sold!

Ships from: Grand Rapids, MI

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 3
Showing 1 – 10 of 22 (3 pages)
Close
Sort by
NOOK Book (eBook)
$17.59
BN.com price
$31.99 List Price (Save 45%)

Available on NOOK devices and apps

  • Nook Devices
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for iPad
  • NOOK for iPhone
  • NOOK for Android
  • NOOK for Android (Tablet)
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK Study
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

Overview

Programming PHP, 2nd Edition, is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating websites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million websites, surpassing Microsoft's ASP .NET technology in popularity. Programmers love its flexibility and speed; designers love its accessibility and convenience.

As the industry standard book on PHP, all of the essentials are covered in a clear and concise manner. Language syntax and programming techniques are coupled with numerous examples that illustrate both correct usage and common idioms. With style tips and practical programming advice, this book will help you become not just a PHP programmer, but a good PHP programmer. Programming PHP, Second Edition covers everything you need to know to create effective web applications with PHP. Contents include:

  • Detailed information on the basics of the PHP language, including data types, variables, operators, and flow control statements
  • Chapters outlining the basics of functions, strings, arrays, and objects
  • Coverage of common PHP web application techniques, such as form processing and validation, session tracking, and cookies
  • Material on interacting with relational databases, such as MySQL and Oracle, using the database-independent PEAR DB library and the new PDO Library
  • Chapters that show you how to generate dynamic images, create PDF files, and parse XML files with PHP
  • Advanced topics, such as creating secure scripts, error handling, performance tuning, and writing your own C language extensions to PHP
  • A handy quick reference to all the core functions in PHP and all the standard extensions that ship with PHP

Praise for the first edition:

"If you are just getting into the dynamic Web development world or you are considering migrating from another dynamic web product to PHP, Programming PHP is the book of choice to get you up, running, and productive in a short time."

—Peter MacIntrye, eWeek

"I think this is a great book for programmers who want to start developing dynamic websites with PHP. It gives a detailed overview of PHP, lots of valuable tips, and a good sense of PHP's strengths."

—David Dooling, Slashdot.org

Product Details

  • ISBN-13: 9780596006815
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 5/5/2006
  • Edition description: Second Edition
  • Edition number: 2
  • Pages: 542
  • Sales rank: 255,454
  • Product dimensions: 7.00 (w) x 9.19 (h) x 1.09 (d)

Meet the Author

Rasmus Lerdorf started the PHP Project back in 1995 and has been actively involved in PHP development ever since. Also involved in a number of other open source projects, Rasmus is a longtime Apache contributor and foundation member. He is the author of the first edition of the PHP Pocket Reference, and the co-author of the first edition of Programming PHP.

Kevin Tatroe has been a Macintosh and Unix programmer for ten years. He is an experienced PHP developer, knowledgeable in the changes coming with PHP 5. He is also co-author of the first edition of Programming PHP.

Peter MacIntyre lives and works in Charlottetown, Prince Edward Island, Canada. He has over 16 years of experience in the information technology industry, primarily in the area of software development. Peter's technical skill set includes several client/server tools and relational database systems such as PHP, PowerBuilder, Visual Basic, Active Server Pages, and CA-Visual Objects.

Peter is certified by ZEND Corporation on PHP 4.x and has contributed writing material for Using Visual Objects (Que Corp.), Using PowerBuilder 5 (Que Corp.), ASP.NET Bible (Wiley Pub.), and Web Warrior Survey on Web Development Languages (Course Technology).

Peter is also currently a contributing editor and author to the on-line and in-print magazine called php|architect (www.phparch.com). He has also spoken several times at North American and International computer conferences including CA-World in New Orleans, USA; CA-TechniCon in Cologne, Germany; and CA-Expo in Melbourne, Australia.

Table of Contents

Foreword; Preface; Audience; Assumptions This Book Makes; Contents of This Book; Conventions Used in This Book; Using Code Examples; Comments and Questions; Safari® Enabled; Acknowledgments; Chapter 1: Introduction to PHP; 1.1 What Does PHP Do?; 1.2 A Brief History of PHP; 1.3 Installing PHP; 1.4 A Walk Through PHP; Chapter 2: Language Basics; 2.1 Lexical Structure; 2.2 Data Types; 2.3 Variables; 2.4 Expressions and Operators; 2.5 Flow-Control Statements; 2.6 Including Code; 2.7 Embedding PHP in Web Pages; Chapter 3: Functions; 3.1 Calling a Function; 3.2 Defining a Function; 3.3 Variable Scope; 3.4 Function Parameters; 3.5 Return Values; 3.6 Variable Functions; 3.7 Anonymous Functions; Chapter 4: Strings; 4.1 Quoting String Constants; 4.2 Printing Strings; 4.3 Accessing Individual Characters; 4.4 Cleaning Strings; 4.5 Encoding and Escaping; 4.6 Comparing Strings; 4.7 Manipulating and Searching Strings; 4.8 Regular Expressions; 4.9 POSIX-Style Regular Expressions; 4.10 Perl-Compatible Regular Expressions; Chapter 5: Arrays; 5.1 Indexed Versus Associative Arrays; 5.2 Identifying Elements of an Array; 5.3 Storing Data in Arrays; 5.4 Multidimensional Arrays; 5.5 Extracting Multiple Values; 5.6 Converting Between Arrays and Variables; 5.7 Traversing Arrays; 5.8 Sorting; 5.9 Acting on Entire Arrays; 5.10 Using Arrays; Chapter 6: Objects; 6.1 Terminology; 6.2 Creating an Object; 6.3 Accessing Properties and Methods; 6.4 Declaring a Class; 6.5 Introspection; 6.6 Serialization; Chapter 7: Web Techniques; 7.1 HTTP Basics; 7.2 Variables; 7.3 Server Information; 7.4 Processing Forms; 7.5 Setting Response Headers; 7.6 Maintaining State; 7.7 SSL; Chapter 8: Databases; 8.1 Using PHP to Access a Database; 8.2 Relational Databases and SQL; 8.3 PEAR DBPEAR DB Basics; 8.4 Advanced Database Techniques; 8.5 Sample Application; Chapter 9: Graphics; 9.1 Embedding an Image in a Page; 9.2 The GDGD Extension; 9.3 Basic Graphics Concepts; 9.4 Creating and Drawing Images; 9.5 Images with Text; 9.6 Dynamically Generated Buttons; 9.7 Scaling Images; 9.8 Color Handling; Chapter 10: PDF; 10.1 PDF Extensions; 10.2 Documents and Pages; 10.3 Text; Chapter 11: XML; 11.1 Lightning Guide to XML; 11.2 Generating XML; 11.3 Parsing XML; 11.4 Parsing XML with DOM; 11.5 Parsing XML with SimpleXML; 11.6 Transforming XML with XSLT; 11.7 Web Services; Chapter 12: Security; 12.1 Filter Input; 12.2 Escape Output; 12.3 Cross-Site Scripting; 12.4 Session Fixation; 12.5 File Uploads; 12.6 File Access; 12.7 PHP Code; 12.8 Shell Commands; 12.9 More Information; 12.10 Security Recap; Chapter 13: Application Techniques; 13.1 Code Libraries; 13.2 Templating Systems; 13.3 Handling Output; 13.4 Error Handling; 13.5 Performance Tuning; Chapter 14: Extending PHP; 14.1 Architectural Overview; 14.2 What You'll Need; 14.3 Building Your First Extensions; 14.4 The config.m4 File; 14.5 Memory Management; 14.6 The pvaldata typespval /zvaldata typeszval Data Type; 14.7 Parameter Handling; 14.8 Returning Values; 14.9 References; 14.10 Global Variables; 14.11 Creating Variables; 14.12 Extension INI Entries; 14.13 Resources; 14.14 Where to Go from Here; Chapter 15: PHP on Windows; 15.1 Installing and Configuring PHP on Windows; 15.2 Writing Portable Code for Windows and Unix; 15.3 Interfacing with COM; 15.4 Interacting with ODBC Data Sources; Appendix A: Function Reference; A.1 PHP Functions by Category; A.2 Alphabetical Listing of PHP Functions; Appendix B: Extension Overview; B.1 Optional Extensions Listing; Colophon;

Rasmus Lerdorf started the PHP Project back in 1995 and has been actively involved in PHP development ever since. Also involved in a number of other open source projects, Rasmus is a longtime Apache contributor and foundation member. He is the author of the first edition of the PHP Pocket Reference, and the co-author of the first edition of Programming PHP.

Kevin Tatroe has been a Macintosh and Unix programmer for ten years. He is an experienced PHP developer, knowledgeable in the changes coming with PHP 5. He is also co-author of the first edition of Programming PHP.

Peter MacIntyre lives and works in Charlottetown, Prince Edward Island, Canada. He has over 16 years of experience in the information technology industry, primarily in the area of software development. Peter's technical skill set includes several client/server tools and relational database systems such as PHP, PowerBuilder, Visual Basic, Active Server Pages, and CA-Visual Objects.

Peter is certified by ZEND Corporation on PHP 4.x and has contributed writing material for Using Visual Objects (Que Corp.), Using PowerBuilder 5 (Que Corp.), ASP.NET Bible (Wiley Pub.), and Web Warrior Survey on Web Development Languages (Course Technology).

Peter is also currently a contributing editor and author to the on-line and in-print magazine called php|architect (www.phparch.com). He has also spoken several times at North American and International computer conferences including CA-World in New Orleans, USA; CA-TechniCon in Cologne, Germany; and CA-Expo in Melbourne, Australia.

Customer Reviews

Be the first to write a review
( 0 )

Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or Leave Anonymously

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identiy on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

We're sorry, but penname is already taken.

Please select one of the following:
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

penname is available!

By visiting the BN.com website or marking a purchase on BN.com, a User is deemed to have accepted the Terms of Use.

Continue Anonymously

Welcome, penname

You have successfully created your Pen Name. Start enjoying the benefits of the BN.com Community today.

Sort by: Showing 1 Customer Review
  • Anonymous

    Posted November 27, 2002

    Recommended

    Programming PHP is a great introduction to PHP. The chapters are well written with good examples that explain what is being discussed. The chapters are not written in a "read one after the other" fashion, so you can easily go to the chapter you need information on and find what you are looking for. This book did have some errors in the sample code, but if you read the text and actually try out the examples you can easily figure out what needs to be fixed to get them running. Since the O¿Reilly "Programming" series is more about advanced programming issues, I think this book should have had the title "Learning PHP". It just seems to be an introduction, because it did not delve into any advanced topics. It is worthy to have on any PHP developers bookshelf. Recommended.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Review

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)
500 character limit