Introduction to PHP
This course showcases the popular and powerful scripting language forbuilding database-driven web sites. Introduction to PHP (Hypertext Preprocessor)teaches you the necessary skills to immediately exploit PHP on your Internet orintranet web site.
Highlights
- Understand PHP commands and program structure
- Use PHP to process HTML forms
- Master regular expressions for form validation and other applications
- Read and write files with PHP
- Build database-driven applications
Course Outline
1. Hypertext Preprocessor (PHP): A Web Server-Side Technology
- Client-Side vs. Server-Side Web Technologies
- The Web's Client-Server Relationship
- Which Web Servers Support PHP?
2. Writing PHP Pages
- PHP Code In An HTML Context
- PHP Statements
- Enclosing Scripting Code within your PHP Pages
- Strings in PHP
- Developing PHPs in This Class
- An Example: "Hello World"
- Conditional Constructs with "if"
- Comparison Operators in PHP
- The Logical AND (&&) and OR (||)
3. Processing Data from Online Forms
- The <FORM> Tag and Its Attributes
- Scalar Variables in PHP
- Demonstration: Displaying a Customized Greeting
- Combining the Form and Its Processing Code In One PHP File
4. Working with Cookies
- Setting a Cookie
- Retrieving a Cookie
- Example: Setting, Retrieving, and Expiring a Cookie
5. Maintaining State with Sessions
- Sessions
- Storing and Retrieving Session Values
- Example: Using the Session Object to Track a Shopping Cart
6. Email with PHP
- Sending E mail PHP
7. Writing To A Text File
- Example: Writing to a Tab-Delimited File
- Example: Reading from a tab-delimited text file
8. Loop Structures
- For Loops
- Foreach Loops
- While Loops
9. Database Integration with PHP
- The Databases Used in this Class
- Issuing Database Commands with SQL
- Example: Selecting and Viewing Data From guestbook.mdb
- Connecting and Issuing Commands to the Database
- Displaying Database Results
10. Working with Meta Information from a Database
- Object-Oriented PHP
- Development Strategy Session: Building an Interface for Updating Client Records
11. User-Defined Functions in PHP
- Functions
12. Regular Expressions
- Character Types and Ranges
- Quantity Indicators
- Location Indicators
- Regular Expressions in PHP
13. Drilling Down and the Query String
- Building the Query String into a Link
- Generating Drill Down Links Dynamically
14. Installing PHP
15. Installing MySQL
Space is limited. Register today to save your space!
