My Account Log in

1 option

Learning PHP 5 / David Sklar.

LIBRA QA76.73.P224 S55 2004
Loading location information...

Available from offsite location This item is stored in our repository but can be checked out.

Log in to request item
Format:
Book
Author/Creator:
Sklar, David.
Contributor:
Elsie de Renzo Orlando Fund.
Language:
English
Subjects (All):
PHP (Computer program language).
Internet programming.
Physical Description:
xviii, 348 pages : illustrations ; 23 cm
Edition:
First edition.
Other Title:
Learning PHP five
Place of Publication:
Sebastopol, CA : O'Reilly, 2004.
Summary:
PHP has gained a following among nontechnical 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 want to try your hand at PHP but don't know 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 MySQL databases and HTML forms. Written by the coauthor of the popular PHP Cookbook, this book is for intelligent (but not necessarily highly technical) readers.
Contents:
PHP's Place in the Web World 1
What's So Great About PHP? 4
PHP in Action 6
Basic Rules of PHP Programs 11
2. Working with Text and Numbers 16
Variables 27
3. Making Decisions and Repeating Yourself 33
Understanding true and false 34
Making Decisions 35
Building Complicated Decisions 37
Repeating Yourself 43
4. Working with Arrays 48
Looping Through Arrays 52
Modifying Arrays 57
Sorting Arrays 60
Using Multidimensional Arrays 63
5. Functions 69
Declaring and Calling Functions 70
Passing Arguments to Functions 71
Returning Values from Functions 74
Understanding Variable Scope 78
6. Making Web Forms 84
Accessing Form Parameters 88
Form Processing with Functions 90
Validating Data 93
Displaying Default Values 103
7. Storing Information with Databases 114
Organizing Data in a Database 115
Connecting to a Database Program 117
Creating a Table 119
Putting Data into the Database 121
Inserting Form Data Safely 126
Generating Unique IDs 127
A Complete Data Insertion Form 128
Retrieving Data from the Database 131
Changing the Format of Retrieved Rows 136
Retrieving Form Data Safely 138
A Complete Data Retrieval Form 141
MySQL Without PEAR DB 145
8. Remembering Users with Cookies and Sessions 151
Activating Sessions 156
Storing and Retrieving Information 157
Configuring Sessions 160
Login and User Identification 161
Why setcookie() and session_start() Want to Be at the Top of the Page 167
9. Handling Dates and Times 170
Displaying the Date or Time 170
Parsing a Date or Time 175
Dates and Times in Forms 176
Displaying a Calendar 186
10. Working with Files 192
Understanding File Permissions 192
Reading and Writing Entire Files 193
Reading and Writing Parts of Files 197
Working with CSV Files 200
Inspecting File Permissions 203
Checking for Errors 204
Sanitizing Externally Supplied Filenames 206
11. Parsing and Generating XML 210
Parsing an XML Document 211
Generating an XML Document 217
12. Debugging 221
Controlling Where Errors Appear 221
Fixing Parse Errors 222
Inspecting Program Data 226
Fixing Database Errors 229
13. What Else Can You Do with PHP? 232
Graphics 232
PDF 233
Shockwave/Flash 234
Browser-Specific Code 236
Sending and Receiving Mail 236
Uploading Files in Forms 237
The HTML_QuickForm Form-Handling Framework 239
Classes and Objects 242
Advanced XML Processing 244
SQLite 247
Running Shell Commands 248
Advanced Math 249
Encryption 250
Talking to Other Languages 251
IMAP, POP3, and NNTP 251
Command-Line PHP 253
PHP-GTK 253
Even More Things You Can Do with PHP 254
A. Installing and Configuring the PHP Interpreter 255
B. Regular Expression Basics 280.
Notes:
"A pain-free introduction to building interactive Web sites"--Cover.
Includes bibliographical references and index.
Local Notes:
Acquired for the Penn Libraries with assistance from the Elsie de Renzo Orlando Fund.
ISBN:
0596005601
OCLC:
55950881

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account