Flylib.com
PHP 5 Unleashed
PHP 5 Unleashed
ISBN: 067232511X
EAN: 2147483647
Year: 2004
Pages: 257
Authors:
John C. Coggeshall
BUY ON AMAZON
PHP 5 Unleashed
Table of Contents
Copyright
Lead Author
Contributing Authors
Acknowledgments
We Want to Hear from You
Reader Services
Introduction
Organization of the Book
PartI.Working with PHP for General Web Development
Chapter1.Basic PHP Development
How PHP Scripts Work
Basic PHP Syntax
Basic PHP Data Types
Variable Manipulation
Control Structures
User-Defined Functions
Dynamic Variables and Functions
Multiple File PHP Scripts
References
Strings in PHP
Comparing Strings
Advanced String Comparison
Search and Replacement
Formatting Strings
Strings and Locales
Formatting Date and Time Values
Summary
Chapter2.Arrays
Basic Arrays
Implementing Arrays
More Array Materials
Chapter3.Regular Expressions
The Basics of Regular Expressions
Limitations of the Basic Syntax
POSIX Regular Expressions
Perl-Compatible Regular Expressions (PCRE)
PCRE Modifiers
A Few Final Words
Chapter4.Working with Forms in PHP
HTML Forms 101
Working with Form Submissions in PHP
Summary
Chapter5.Advanced Form Techniques
Data Manipulation and Conversion
Form Data Integrity
Form Processing
Summary
Chapter6.Persistent Data Using Sessions and Cookies
HTTP Cookies
PHP Sessions
Advanced Sessions
Summary
Chapter7.Using Templates
The What and Why of Templates
The Smarty Template Engine
Summary
PartII.Advanced Web Development
Chapter8.PEAR
What Is PEAR?
Getting and Installing PEAR
Using the PEAR Package Manager
Using the PEAR Website
Using PEAR Packages in Applications
Summary
Reference
Chapter9.XSLT and Other XML Concerns
Relating XML to HTML
Using XSLT to Describe HTML Output Using XML Input
PHP4 and XSLT Using the DOM XML Module
PHP4 and XSLT Using the XSLT Module
PHP5 and XSLT
Accessing XML Data Using SimpleXML
Generating XML Documents Using PHP
Summary
References
Chapter10.Debugging and Optimizations
Debugging Your PHP Scripts
Optimizing Your PHP Scripts
Summary
Chapter11.User Authentication
Authenticating Users in PHP
Securing PHP Code
Summary
Chapter12.Data Encryption
Shared Secret Versus Public Key
Shared Secret Algorithms
Public Key Cryptography
Using Public Keys in PHP
Summary
Chapter13.Object-Oriented Programming in PHP
Why Objects?
Creating Basic Classes
Advanced Classes
Special Methods
Class Autoloading
Object Serialization
Exceptions
Iterators
Summary
Chapter14.Error Handling
The PHP Error-Handling Model
What to Do About Errors
The Default Error Handler
Error Suppression
Custom Error Handlers
Causing Errors
Putting It All Together
Summary
Chapter15.Working with HTMLXHTML Using Tidy
Introduction
Basic Tidy Usage
Tidy Configuration Options
Using the Tidy Parser
Applications of Tidy
Summary
Chapter16.Writing Email in PHP
The MIME Protocol
Implementing MIME Email in PHP
Summary
PartIII.Building Applications in PHP
Chapter17.Using PHP for Console Scripting
Core CLI Differences
Working with PHP CLI
CLI Tools and Extensions
Summary
Chapter18.SOAP and PHP
What Are Web Services?
Installation
Creating Web Services
Consuming Web Services
Looking for Web Services
Summary
Chapter19.Building WAP-Enabled Websites
What Is WAP?
System Requirements
Introduction to WML
Serving WAP Content
Sample Applications
Summary
PartIV.IO, System Calls, and PHP
Chapter20.Working with the File System
Working with Files in PHP
File Permissions
File Access Support Functions
Summary
Chapter21.Network IO
DNSReverse DNS Lookups
Socket Programming
Network Helper Functions
Summary
Chapter22.Accessing the Underlying OS from PHP
Introduction
Unix-Specific OS Functionality
Platform-Independent System Functions
A Brief Note About Security
Summary
PartV.Working with Data in PHP
Chapter23.Introduction to Databases
Using the MySQL Client
Basic MySQL Usage
Summary
Chapter24.Using MySQL with PHP
Performing Queries from PHP
A MySQLi Session Handler
What Is a Custom Session Handler?
Summary
Chapter25.Using SQLite with PHP
What Makes SQLite Unique?
Basic SQLite Functionality
Working with PHP UDFs in SQLite
Odds and Ends
Summary
Chapter26.PHP s dba Functions
Preparations and Settings
Creating a File-Based Database
Writing Data
Reading Data
Sample Application
Conclusion
PartVI.Graphical Output with PHP
Chapter27.Working with Images
Basic Image Creation Using GD
Using the PHPGD Drawing Functions
Working with Colors and Brushes
Using Fonts and Printing Strings
General Image Manipulation
Other Graphics Functions
Summary
Chapter28.Printable Document Generation
A Note Regarding the Examples in This Chapter
Generating Dynamic RTF Documents
Generating Dynamic PDF Documents
Related Resources
PartVII.Appendixes
AppendixA.Installing PHP5 and MySQL
Installing PHP5
Installing MySQL and PHP Modules
Installing PEAR
AppendixB.HTTP Reference
What Is HTTP?
PHP Programming Libraries for HTTP Work
Understanding an HTTP Transaction
HTTP Client Methods
What Comes Back: Server Response Codes
HTTP Headers
Encoding
Identifying Clients and Servers
The Referer
Fetching Content from an HTTP Source
Media Types
Cookies: Preserving State and a Tasty Treat
Security and Authorization
Client-Side Caching of HTTP Content
AppendixC.Migrating Applications from PHP4 to PHP5
Configuration
Object-Oriented Programming (OOP)
New Behavior of Functions
Further Reading
AppendixD.Good Programming Techniques and Performance Issues
Common Style Mistakes
Common Security Concerns
Style and SecurityLogging
Summary
AppendixE.Resources and Mailing Lists
Relevant Websites
Mailing Lists and Newsgroups
Index
SYMBOL
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
PHP 5 Unleashed
ISBN: 067232511X
EAN: 2147483647
Year: 2004
Pages: 257
Authors:
John C. Coggeshall
BUY ON AMAZON
Image Processing with LabVIEW and IMAQ Vision
CMOS Image Sensors
Color Images
Camera Interfaces and Protocols
Digital Imaging and Communication in Medicine (DICOM)
Application Examples
Cisco IOS in a Nutshell (In a Nutshell (OReilly))
Loading Configuration Files
The Loopback Interface
Split Horizon
Modern IOS QoS Tools
Traffic Policing
The New Solution Selling: The Revolutionary Sales Process That Is Changing the Way People Sell [NEW SOLUTION SELLING 2/E]
Chapter Three Sales Process
Chapter Five Stimulating Interest
Chapter Six Defining Pain or Critical Business Issue
Chapter Thirteen Closing: Reaching Final Agreement
Appendix A Value Justification Example
Persuasive Technology: Using Computers to Change What We Think and Do (Interactive Technologies)
Computers as Persuasive Tools
Computers as Persuasive Social Actors
Credibility and Computers
Credibility and the World Wide Web
Captology Looking Forward
HTI+ Home Technology Integrator & CEDIA Installer I All-In-One Exam Guide
Wire and Cable Basics
Distributed Audio System Basics
Designing and Installing Distributed Audio Systems
Troubleshooting Audio Systems
Designing a Home Security System
Programming .Net Windows Applications
Termination Buttons
Control Class
The Drawing Namespace
Class Hierarchy
Managed Providers
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies