PHP 5 for dummies

Uses a friendly, easy-to-understand style to show Web designers how to use the latest major release of PHP, the most popular open source Web scripting language. PHP is easy to learn, database-friendly, and especially well suited for Web development because it can be embedded with HTML. .

Saved in:
Bibliographic Details
Main Author: Valade, Janet
Format: eBook
Language:English
Published: Hoboken, NJ Wiley 2004
John Wiley & Sons, Incorporated
For Dummies
Edition:1
Series:For dummies
Subjects:
ISBN:0764541668, 9780764541667, 0764556622, 9780764556623
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • Changing the Order of Statement Execution -- Setting Up Conditions -- Using Conditional Statements -- Repeating Actions by Using Loops -- Chapter 8: Reusing PHP Code -- Inserting Code in Your Script -- Creating Reusable Code ( Functions) -- Handling Errors -- Chapter 9: Object-Oriented Programming Meets PHP -- Introducing Object-Oriented Programming -- Developing an Object-Oriented Program -- Defining a Class -- Using a Class -- Making Properties and Methods Private -- Using Exceptions -- Copying Objects -- Destroying Objects -- Part IV: Common PHP Applications -- Chapter 10: The Basics of Web Applications -- Securing Your Web Site -- Displaying Static Web Pages -- Working with HTML Forms -- Chapter 11: Other Web Applications -- Overcoming Statelessness -- Navigating Web Sites with Multiple Pages -- Moving Information from Page to Page -- Uploading Files -- Using JavaScript with PHP -- Chapter 12: Storing Data with PHP -- Using Flat Files -- Working with Databases -- Using SQLite -- Chapter 13: PHP and Your Operating System -- Managing Files -- Using Operating System Commands -- Using FTP -- Using E-Mail -- Chapter 14: PHP Extensions -- Investigating the Basic Extensions -- Taking a Look at Standard Extensions -- Using PEAR -- Part V: The Part of Tens -- Chapter 15: Ten Things to Look For When Troubleshooting a Script -- Missing Semicolons -- Not Enough Equal Signs -- Misspelled Variable Names -- Missing Dollar Signs -- Troubling Quotes -- Invisible Output -- Numbered Arrays -- Including PHP Statements -- Missing Mates -- Confusing Parentheses and Brackets -- Chapter 16: Ten PHP Resources You Can't Live Without -- The PHP Web Site -- PHP Lists -- Zend -- PHP Builder -- Black Beans -- PHP Beginners -- PHP Dev Center -- PHPMac. com -- PHP Editors -- SourceForge. net -- Free PHP Hosting Directory -- My Web Site -- Part VI: Appendixes
  • Appendix A: Installing PHP -- Installing PHP on Computers Running Unix/Linux -- Installing PHP on Computers Running Mac OS X -- Installation Options for Unix/Linux/Mac -- Configuring on Unix/Linux/Mac -- Installing PHP on Computers Running Windows -- Appendix B: Useful PHP Built-in Functions -- Array Functions -- Date and Time Functions -- File System Functions -- HTTP and Mail Functions -- Mathematical Functions -- PHP Options and Information Functions -- String Functions -- Variable Functions -- Index
  • Intro -- PHP 5 For Dummies -- About the Author -- Dedication -- Acknowledgments -- Contents at a Glance -- Table of Contents -- Introduction -- About This Book -- How to Use This Book -- Foolish Assumptions -- How This Book Is Organized -- Icons Used in This Book -- Part I: Say Hello to the PHP Scripting Language -- Chapter 1: Getting to Know PHP -- Getting Familiar with PHP -- Considering the Various Uses for PHP -- Understanding How PHP Works -- Keeping Up with Changes in PHP -- Chapter 2: Setting Up the Environment -- Establishing Your Web Environment -- Setting Up PHP for General-Purpose Scripting -- Configuring PHP -- Using Tools to Build PHP Scripts -- Chapter 3: Creating Your First PHP Script -- Writing PHP Statements -- Building Scripts -- Writing Your First Script -- Discovering More about Output Statements -- Documenting the Script -- Part II: Variables and Data -- Chapter 4: Using Variables in PHP Scripts -- Naming Variables -- Assigning and Displaying Variable Values -- Writing Your First Script That Uses Variables -- Discovering More about Output Statements with Variables -- Using Variable Variables -- Removing Variables -- Working with Constants -- Handling Error Messages -- Chapter 5: Working with Data -- Understanding Data Types -- Working with Numbers -- Working with Character Strings -- Working with Dates and Times -- Chapter 6: Storing Data in Groups by Using Arrays -- Creating and Working with Arrays -- Sorting Arrays -- Using Arrays in Statements -- Walking through an Array -- Finding Array Size -- Converting Arrays into Strings ( And Vice Versa) -- Converting Variables into Arrays ( And Vice Versa) -- Splitting and Merging Arrays -- Comparing Arrays -- Working with Other Array Operations -- Multidimensional Arrays -- Built-in PHP Arrays -- Part III: Basic PHP Programming -- Chapter 7: Controlling the Flow of the Script