PHP Advanced for the World Wide Web: Visual QuickPro Guide

PHP Advanced for the World Wide Web: Visual QuickPro Guide

by Larry Ullman, Larry Ullman

Paperback

$25.24 $29.99 Save 16% Current price is $25.24, Original price is $29.99. You Save 16%.

Product Details

ISBN-13: 9780201775976
Publisher: Pearson Education
Publication date: 12/28/2001
Series: Visual QuickPro Series
Pages: 500
Product dimensions: 7.10(w) x 8.96(h) x 1.08(d)

About the Author

Larry Ullman is the Director of Digital Media Technologies at DMC Insights, Inc., and also serves as the lead PHP programmer. He specializes in developing dynamic Web sites and Web applications and also teaches PHP through various mediums.

Table of Contents

Introductionix
Chapter 1Advanced PHP Programming1
Code Structure and Documentation2
Arrays10
Constants19
Function Recursion and Static Variables24
References and Functions34
Chapter 2Object-Oriented Programming41
Defining a Class43
Creating an Object46
Creating Constructors52
Object Inheritance58
Using Class Functions Without Instances64
Serializing Objects66
Destroying Objects76
Chapter 3Databases79
Database Design and Normalization81
Creating the Database90
Generating Query Results95
Chapter 4Security123
Validating Forms125
Validating Forms With JavaScript140
Mcrypt149
HTTP Authentication160
Web Server Security166
Chapter 5Developing Web Applications171
Database Design172
Site Structure176
PHP and OOP Templates188
Sessions210
Using Sessions Without Cookies219
Debugging229
Error Logging and Reporting230
Chapter 6E-commerce233
Creating the Database235
Administration241
Showing the Products Online260
Writing a Shopping Cart268
Chapter 7Networking with PHP277
Brower Detection278
Accessing Other Web Sites with PHP286
Using fsockopen()291
Chapter 8PHP and the Server297
Establishing a Cron298
Compressing Files with PHP305
Using COM with PHP310
Chapter 9XML and PHP319
What Is XML?320
XML Syntax322
Document Type Definitions325
Parsing XML With PHP and Expat332
XML Error Handling339
Chapter 10Image Generation343
Creating a Simple Image345
Using True Type Fonts356
Creating a Database-Driven Graph364
Saving and Building on Existing Images375
Chapter 11Creating PDFs383
Creating a Simple PDF385
Adding Text to PDFs391
Drawing Shapes404
Using Images412
Creating Multiple-Page PDFs419
Chapter 12Extending PHP427
PEAR428
Zend435
PHP-GTK439
PHP Source Code452
Appendix AInstallation453
Installing PHP with Apache on Linux454
Installing PHP on Windows with Xitami460
Installing PHP on Mac OS X with Apache464
Appendix BDatabases469
Database Applications470
SQL471
MySQL Resources474
Other Resources476
Appendix CGeneral Resources477
PHP-Specific Sites478
Additional Libraries480
Security482
Other Resources483
Index487

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews