+353-1-416-8900REST OF WORLD
+44-20-3973-8888REST OF WORLD
1-917-300-0470EAST COAST U.S
1-800-526-8630U.S. (TOLL FREE)


Beginning PHP 5.3

  • ID: 1233680
  • Book
  • 840 Pages
  • John Wiley and Sons Ltd
1 of 3
A solid introduction to writing powerful web applications using PHP 5.3

As one of the most popular open–source web–programming languages in use today, PHP is an ideal server–side scripting language that connects HTML–based web pages to a backend database for dynamic content. It allows you to create anything from a simple form–to–email script to a web forum application, a blogging platform, or a content management system. This guide introduces the PHP language and shows how to write powerful web applications using PHP.

  • Looks at the ways that PHP programs interact with web servers and other technologies such as HTML

  • Teaches you how to build robust web applications and change the flow of your scripts with decisions and loops

  • Examines ways to create and use strings, arrays, objects, functions, and files in your scripts

  • Shares tips for creating interactive web forms in PHP, as well as capturing user input

  • Unveils methods for preserving an application′s state between page views

  • Offers advice on how to work with MySQL databases using PHP

  • Includes best practices for using PEAR to speed up your application development

  • Presents techniques for manipulating XML from within your PHP scripts

  • Walks you through the creation and manipulation of web graphics using PHP

Programmer Forums
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.

Code Downloads
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.

Read More
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.

Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.


Note: Product cover images may vary from those shown
2 of 3

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

Note: Product cover images may vary from those shown
3 of 3


4 of 3
Matt Doyle
Note: Product cover images may vary from those shown