|
Table of Contents
Introduction .................................................................1
About This Book ..............................................................................................1
How to Use This Book ....................................................................................2
Foolish Assumptions ......................................................................................3
How This Book Is Organized ..........................................................................4
Part I: Say Hello to the PHP Scripting Language ................................4
Part II: Variables and Data ....................................................................4
Part III: Basic PHP Programming .........................................................4
Part IV: Common PHP Applications ....................................................4
Part V: The Part of Tens ........................................................................5
Part VI: Appendixes ...............................................................................5
Icons Used in This Book .................................................................................5
Part I: Say Hello to the PHP Scripting Language ............7
Chapter 1: Getting to Know PHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Getting Familiar with PHP ..............................................................................9
Considering the Various Uses for PHP .......................................................10
Using PHP for Web applications ........................................................11
Using PHP for database applications ................................................12
Using PHP with your file system .......................................................13
Using PHP for system commands .....................................................13
Understanding How PHP Works ..................................................................14
PHP as a general-purpose language ..................................................14
PHP for the Web ...................................................................................15
Keeping Up with Changes in PHP ................................................................16
PHP 5 .....................................................................................................17
Previous versions of PHP ...................................................................18
Chapter 2: Setting Up the Environment . . . . . . . . . . . . . . . . . . . . . . . . . .19
Establishing Your Web Environment ..........................................................19
Using an existing Web environment ..................................................21
Choosing a Web hosting company ....................................................22
Setting up your own Web environment ............................................25
Testing PHP ..........................................................................................27
Setting Up PHP for General-Purpose Scripting ..........................................30
Configuring PHP ............................................................................................32
Using Tools to Build PHP Scripts ................................................................32
Programming editors ..........................................................................32
Integrated Development Environment (IDE) ...................................33
|