did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781565926103

Programming Php

by ; ; ;
  • ISBN13:

    9781565926103

  • ISBN10:

    1565926102

  • Format: Paperback
  • Copyright: 2002-03-01
  • Publisher: Oreilly & Associates Inc

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.95 Save up to $9.99
  • Buy Used
    $29.96

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

Programming PHP is a comprehensive guide to PHP, a simple yet powerful language for creating dynamic web content. Filled with the unique knowledge of the creator of PHP, Rasmus Lerdorf, this book is a detailed reference to the language and its applications, including such topics as form processing, sessions, databases, XML, and graphics. Covers PHP 4, the latest version of the language.

Author Biography

Rasmus Lerdorf is the creator and lead developer of PHP Kevin Tatroe is a software consultant

Table of Contents

Preface ix
Introduction to PHP
1(16)
What Does PHP Do?
1(1)
A Brief History of PHP
2(5)
Installing PHP
7(2)
A Walk Through PHP
9(8)
Language Basics
17(44)
Lexical Structure
17(6)
Data Types
23(7)
Variables
30(4)
Expressions and Operators
34(12)
Flow-Control Statements
46(8)
Including Code
54(2)
Embedding PHP in Web Pages
56(5)
Functions
61(11)
Calling a Function
61(1)
Defining a Function
62(2)
Variable Scope
64(2)
Function Parameters
66(3)
Return Values
69(1)
Variable Functions
70(1)
Anonymous Functions
71(1)
Strings
72(44)
Quoting String Constants
72(3)
Printing Strings
75(4)
Accessing Individual Characters
79(1)
Cleaning Strings
80(1)
Encoding and Escaping
81(5)
Comparing Strings
86(3)
Manipulating and Searching Strings
89(6)
Regular Expressions
95(4)
POSIX-Style Regular Expressions
99(4)
Perl-Compatible Regular Expressions
103(13)
Arrays
116(24)
Indexed Versus Associative Arrays
116(1)
Identifying Elements of an Array
117(1)
Storing Data in Arrays
117(3)
Multidimensional Arrays
120(1)
Extracting Multiple Values
120(4)
Converting Between Arrays and Variables
124(1)
Traversing Arrays
125(5)
Sorting
130(5)
Acting on Entire Arrays
135(1)
Using Arrays
136(4)
Objects
140(18)
Terminology
141(1)
Creating an Object
141(1)
Accessing Properties and Methods
142(1)
Declaring a Class
143(4)
Introspection
147(6)
Serialization
153(5)
Web Techniques
158(31)
HTTP Basics
158(1)
Variables
159(1)
Server Information
160(2)
Processing Forms
162(13)
Setting Response Headers
175(3)
Maintaining State
178(10)
SSL
188(1)
Databases
189(25)
Using PHP to Access a Database
189(1)
Relational Databases and SQL
190(2)
PEAR DB Basics
192(5)
Advanced Database Techniques
197(5)
Sample Application
202(12)
Graphics
214(19)
Embedding an Image in a Page
214(1)
The GD Extension
215(1)
Basic Graphics Concepts
216(1)
Creating and Drawing Images
217(3)
Images with Text
220(3)
Dynamically Generated Buttons
223(4)
Scaling Images
227(1)
Color Handling
228(5)
PDF
233(29)
PDF Extensions
233(1)
Documents and Pages
233(4)
Text
237(9)
Images and Graphics
246(9)
Navigation
255(4)
Other PDF Features
259(3)
XML
262(23)
Lightning Guide to XML
262(2)
Generating XML
264(1)
Parsing XML
265(12)
Transforming XML with XSLT
277(3)
Web Services
280(5)
Security
285(12)
Global Variables and Form Data
285(2)
Filenames
287(2)
File Uploads
289(2)
File Permissions
291(2)
Concealing PHP Libraries
293(1)
PHP Code
294(1)
Shell Commands
295(1)
Security Redux
296(1)
Application Techniques
297(20)
Code Libraries
297(1)
Templating Systems
298(3)
Handling Output
301(2)
Error Handling
303(5)
Performance Tuning
308(9)
Extending PHP
317(34)
Architectural Overview
317(1)
What You'll Need
318(1)
Building Your First Extensions
319(8)
The config.m4 File
327(2)
Memory Management
329(2)
The pval/zval Data Type
331(4)
Parameter Handling
335(3)
Returning Values
338(4)
References
342(1)
Global Variables
343(2)
Creating Variables
345(2)
Extension INI Entries
347(2)
Resources
349(1)
Where to Go from Here
350(1)
PHP on Windows
351(24)
Installing and Configuring PHP on Windows
351(8)
Writing Portable Code for Windows and Unix Interfacing with COM
359(8)
Interacting with ODBC Data Sources
367(8)
Function Reference 375(82)
Extension Overview 457(14)
Index 471

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program