0%

Book Description

Don't limit the functionality of your web site! If you're ready to create interactive, dynamic pages for your site, then PHP for Teens is ready to show you how. You don't need any experience with PHP to begin. You'll learn everything you need to know along the way. The topics covered by PHP for Teens will get you up and running whether you're using a PC, a Mac®, or Linux®. You'll cover everything from basic design and introductory PHP concepts to variables, expressions, and operators. You'll also get a quick overview of HTML and PHP form design. Take control of your web site using the power of PHP!

Table of Contents

  1. Copyright
  2. Acknowledgments
  3. About the Author
  4. Introduction
  5. Welcome to PHP
    1. Installing PHP on Windows
    2. Installing PHP on Macs
  6. A Quick HTML Primer
    1. htm or .html Extension
    2. ASCII Format
    3. Common Tags
  7. Building Your First PHP Program: Setting Up the HTML
    1. HTML Template
    2. HTML Form
    3. Form Elements
    4. Submit Button
    5. Adding PHP
  8. Writing the PHP in Your First Program
    1. Variables
    2. Predefined Variables and Arrays
  9. Constants, Expressions, and Operators
    1. Constants
    2. Operators
    3. Expressions
  10. The Style Factor
    1. Why Style?
    2. How to Style
  11. Program Flow: Control Structures
    1. Branching Structures
    2. Loops
  12. Strings
    1. Making Strings
    2. String Functions
  13. Functions
    1. Designing Your Own Functions
    2. Dissecting a Function
    3. Calling a Function Depending on a Condition
  14. Arrays
    1. Creating an Array
    2. Creating Array Elements
    3. Defining Arrays with PHP
    4. Working with Arrays
  15. Advanced Forms
    1. Advanced Elements
    2. Using PHP and Forms
    3. Basic Email Commands
  16. Cookies
    1. Creating Cookies
    2. Putting a Cookie in Your Site
  17. Sessions
    1. Using Sessions
    2. PHP Functions for Session Data
    3. Creating a Web Page Counter
    4. Developing a Log-In Page
    5. Cookie Exercise
  18. Working with Files
    1. Allowing File Uploads
    2. Loading Files
    3. Writing to Files
    4. Reading in Files
    5. Renaming, Copying, and Deleting Files
    6. Summary
  19. Function List
  20. Online Resources
  21. What’s on the CD
3.145.74.54