Skip to content

Learning PHP 5

Best in textbook rentals since 2012!

ISBN-10: 0596005601

ISBN-13: 9780596005603

Edition: 2004

Authors: David Sklar

List price: $29.95
Blue ribbon 30 day, 100% satisfaction guarantee!

Rental notice: supplementary materials (access codes, CDs, etc.) are not guaranteed with rental orders.

what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

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…    
Customers also bought

Book details

List price: $29.95
Copyright year: 2004
Publisher: O'Reilly Media, Incorporated
Publication date: 7/20/2004
Binding: Paperback
Pages: 370
Size: 7.00" wide x 9.19" long x 0.79" tall
Weight: 1.298
Language: English

David Sklar is a Distinguished Engineer at Ning, part of Glam Media. Inaddition to PHP Cookbook, he is the author of Learning PHP 5 (O'Reilly), and Essential PHP Tools (Apress), and a scintillating blog: http://www.sklar.com/blog/ . David lives in New York City and has adegree in Computer Science from Yale University.

Preface
Orientation and First Steps
PHP's Place in the Web World
What's So Great About PHP?
PHP in Action
Basic Rules of PHP Programs
Chapter Summary
Working with Text and Numbers
Text
Numbers
Variables
Chapter Summary
Exercises
Making Decisions and Repeating Yourself
Understanding true and false
Making Decisions
Building Complicated Decisions
Repeating Yourself
Chapter Summary
Exercises
Working with Arrays
Array Basics
Looping Through Arrays
Modifying Arrays
Sorting Arrays
Using Multidimensional Arrays
Chapter Summary
Exercises
Functions
Declaring and Calling Functions
Passing Arguments to Functions
Returning Values from Functions
Understanding Variable Scope
Chapter Summary
Exercises
Making Web Forms
Accessing Form Parameters
Form Processing with Functions
Validating Data
Displaying Default Values
Putting It All Together
Chapter Summary
Exercises
Storing Information with Databases
Organizing Data in a Database
Connecting to a Database Program
Creating a Table
Putting Data into the Database
Inserting Form Data Safely
Generating Unique IDs
A Complete Data Insertion Form
Retrieving Data from the Database
Changing the Format of Retrieved Rows
Retrieving Form Data Safely
A Complete Data Retrieval Form
MySQL Without PEAR DB
Chapter Summary
Exercises
Remembering Users with Cookies and Sessions
Working with Cookies
Activating Sessions
Storing and Retrieving Information
Configuring Sessions
Login and User Identification
Why setcookie() and session_start() Want to Be at the Top of the Page
Chapter Summary
Exercises
Handling Dates and Times
Displaying the Date or Time
Parsing a Date or Time
Dates and Times in Forms
Displaying a Calendar
Chapter Summary
Exercises
Working with Files
Understanding File Permissions
Reading and Writing Entire Files
Reading and Writing Parts of Files
Working with CSV Files
Inspecting File Permissions
Checking for Errors
Sanitizing Externally Supplied Filenames
Chapter Summary
Exercises
Parsing and Generating XML
Parsing an XML Document
Generating an XML Document
Chapter Summary
Exercises
Debugging
Controlling Where Errors Appear
Fixing Parse Errors
Inspecting Program Data
Fixing Database Errors
Chapter Summary
Exercises
What Else Can You Do with PHP?
Graphics
PDF
Shockwave/Flash
Browser-Specific Code
Sending and Receiving Mail
Uploading Files in Forms
The HTML_QuickForm Form-Handling Framework
Classes and Objects
Advanced XML Processing
SQLite
Running Shell Commands
Advanced Math
Encryption
Talking to Other Languages
IMAP, POP3, and NNTP
Command-Line PHP
PHP-GTK
Even More Things You Can Do with PHP
Installing and Configuring the PHP Interpreter
Regular Expression Basics
Answers To Exercises
Index