Wiley
Wiley.com
Print this page Share

Beginning PHP 5.3

ISBN: 978-0-470-41396-8
840 pages
October 2009
Beginning PHP 5.3 (0470413964) cover image
This book is intended for anyone starting out with PHP programming. If you’ve previously worked in another programming language such as Java, C#, or Perl, you’ll probably pick up the concepts in the earlier chapters quickly; however, the book assumes no prior experience of programming or of building Web applications.

That said, because PHP is primarily a Web technology, it will help if you have at least some knowledge of other Web technologies, particularly HTML and CSS.

Many Web applications make use of a database to store data, and this book contains three chapters on working with MySQL databases. Once again, if you’re already familiar with databases in general — and MySQL in particular — you’ll be able to fly through these chapters. However, even if you’ve never touched a database before in your life, you should still be able to pick up a working knowledge by reading through these chapters.

See More

Introduction xxvii

Part I: Getting Up and Running with PHP

Chapter 1: Introducing PHP 3

Chapter 2: Your First PHP Script 11

Part II: Learning the Language

Chapter 3: PHP Language Basics 33

Chapter 4: Decisions and Loops 51

Chapter 5: Strings 73

Chapter 6: Arrays 101

Chapter 7: Functions 141

Chapter 8: Objects 165

Part III: Using PHP in Practice

Chapter 9: Handling HTML Forms with PHP 221

Chapter 10: Preserving State With Query Strings, Cookies, and Sessions 267

Chapter 11: Working with Files and Directories 297

Chapter 12: Introducing Databases and SQL 337

Chapter 13: Retrieving Data from MySQL with PHP 367

Chapter 14: Manipulating MySQL Data with PHP 403

Chapter 15: Making Your Job Easier with PEAR 441

Chapter 16: PHP and the Outside World 471

Chapter 17: Generating Images with PHP 507

Chapter 18: String Matching with Regular Expressions 539

Chapter 19: Working with XML 573

Chapter 20: Writing High-Quality Code 619

Appendix A: Solutions to Exercises 673

Appendix B: Configuring PHP 719

Appendix C: Alternatives to MySQL 757

Appendix D: Using PHP from the Command Line 765

Index 775

See More
Matt Doyle has worn many hats in his professional career, including working in the fields of system administration, computer training, software development, graphic design, and website creation.
See More
Download TitleSizeDownload
Code Download :: Chapter 2 2.22 KB Click to Download
Code Download :: Chapter 4 4.63 KB Click to Download
Code Download :: Chapter 5 2.93 KB Click to Download
Code Download :: Chapter 6 7.13 KB Click to Download
Code Download :: Chapter 7 5.02 KB Click to Download
Code Download :: Chapter 8 7.86 KB Click to Download
Code Download :: Chapter 9 11.43 KB Click to Download
Code Download :: Chapter 10 6.31 KB Click to Download
Code Download :: Chapter 11 5.46 KB Click to Download
Code Download :: Chapter 12 2.29 KB Click to Download
Code Download :: Chapter 13 7.22 KB Click to Download
Code Download :: Chapter 14 14.69 KB Click to Download
Code Download :: Chapter 15 17.59 KB Click to Download
Code Download :: Chapter 16 6.55 KB Click to Download
Code Download :: Chapter 17 377.52 KB Click to Download
Code Download :: Chapter 18 3.97 KB Click to Download
Code Download :: Chapter 19 10.64 KB Click to Download
Code Download :: Chapter 20 7.18 KB Click to Download
Code Download :: README 1.79 KB Click to Download
See More

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
61 Typo in Text
The for statement is a bit more complex than do and do...while,...

Should be

The for statement is a bit more complex than while and do...while,...
01/18/10
61 Error in Text
Sentence before bullet points:

CURRENTLY READS:
"You can see that, whereas do and do?while loops"

SHOULD READ:
"You can see that, whereas while and do?while loops?"
10/04/2013
See More
Buy Both and Save 25%!
+

Beginning PHP 5.3 (US $39.99)

-and- Beginning PhoneGap (US $34.99)

Total List Price: US $74.98
Discounted Price: US $56.23 (Save: US $18.75)

Buy Both
Cannot be combined with any other offers. Learn more.
Back to Top