Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

Foreword....................................................................................................................


Preface


Acknowledgments


I: PROGRAMMING WITH PHP



  1. AN INTRODUCTION TO PHP
    The Origins of PHP
    What Makes PHP Better than Its Alternatives
    Interfaces to External Systems
    How PHP Works with the Web Server
    Hardware and Software Requirements
    Installation on Apache for UNIX
    Installation on IIS for Windows NT
    Editing Scripts
    Algorithms
    What a PHP Script Looks Like
    Saving Data for Later
    Receiving User Input
    Choosing between Alternatives
    Repeating Code
    Conclusion

  2. VARIABLES, OPERATORS, AND EXPRESSIONS
    Identifiers
    Data Types
    Variable Creation and Scope
    Assigning Values to Variables
    Retrieving Values
    Freeing Memory
    Constants
    Operators
    Logical and Relational Operators
    Bitwise Operators
    Miscellaneous Operators
    Assignment Operators
    Expressions

  3. CONTROL STATEMENTS
    True and False
    The if Statement
    The? Operator
    The switch Statement
    Loops
    The while Statement
    The break Statement
    The continue Statement
    The do...while Statement
    The for Statement
    The foreach Statement
    exit , die , and return

Free download pdf