Book description
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 book you need. If you've wanted to try your hand at PHP but haven't known 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 databases and HTML forms. Written by the co-author of the popular PHP Cookbook, this book is for intelligent (but not necessarily highly-technical) readers. Learning PHP 5 guides you through every aspect of the language you'll need to master for professional web programming results. This book provides a hands-on learning experience complete with exercises to make sure the lessons stick.Learning PHP 5 covers the following topics, and more:
- How PHP works with your web browser and web server
- PHP language basics, including data, variables, logic and looping
- Working with arrays and functions
- Making web forms
- Working with databases like MySQL
- Remembering users with sessions
- Parsing and generating XML
- Debugging
Publisher resources
Table of contents
- Dedication
- A Note Regarding Supplemental Files
- Preface
- 1. Orientation and First Steps
- 2. Working with Text and Numbers
- 3. Making Decisions and Repeating Yourself
- 4. Working with Arrays
- 5. Functions
- 6. Making Web Forms
-
7. Storing Information with Databases
- 7.1. Organizing Data in a Database
- 7.2. Connecting to a Database Program
- 7.3. Creating a Table
- 7.4. Putting Data into the Database
- 7.5. Inserting Form Data Safely
- 7.6. Generating Unique IDs
- 7.7. A Complete Data Insertion Form
- 7.8. Retrieving Data from the Database
- 7.9. Changing the Format of Retrieved Rows
- 7.10. Retrieving Form Data Safely
- 7.11. A Complete Data Retrieval Form
- 7.12. MySQL Without PEAR DB
- 7.13. Chapter Summary
- 7.14. Exercises
- 8. Remembering Users with Cookies and Sessions
- 9. Handling Dates and Times
- 10. Working with Files
- 11. Parsing and Generating XML
- 12. Debugging
-
13. What Else Can You Do with PHP?
- 13.1. Graphics
- 13.2. PDF
- 13.3. Shockwave/Flash
- 13.4. Browser-Specific Code
- 13.5. Sending and Receiving Mail
- 13.6. Uploading Files in Forms
- 13.7. The HTML_QuickForm Form-Handling Framework
- 13.8. Classes and Objects
- 13.9. Advanced XML Processing
- 13.10. SQLite
- 13.11. Running Shell Commands
- 13.12. Advanced Math
- 13.13. Encryption
- 13.14. Talking to Other Languages
- 13.15. IMAP, POP3, and NNTP
- 13.16. Command-Line PHP
- 13.17. PHP-GTK
- 13.18. Even More Things You Can Do with PHP
- A. Installing and Configuring the PHP Interpreter
- B. Regular Expression Basics
- C. Answers To Exercises
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Learning PHP 5
- Author(s):
- Release date: June 2004
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596005603
You might also like
book
PHP 5 Power Programming
"This book, written by my colleague, Andi Gutmans, and two very prominent PHP developers, Stig Bakken …
book
Mastering PHP 7
Effective, readable, and robust codes in PHP Key Features [*] Leverage the newest tools available in …
book
PHP and MySQL® For Dummies®, 4th Edition
Here's what Web designers need to know to create dynamic, database-driven Web sites To be on …
book
PHP 7 Programming Cookbook
Over 80 recipes that will take your PHP 7 web development skills to the next level! …