Variables illustration

The current date and time is May 19th, 2012 12:07:AM

Companion Web Site

Larry Ullman has a web site devoted to PHP for the World Wide Web: Second Edition at this location.

It is intended as a supplement /complement to the book and has many helpful resources.

The Book

Variable image

PHP for the World Wide Web: Second Edition written by Larry Ullman

The syllabus below represents the scope and sequence for the work we will be doing together in PHP for the World Wide Web: Second Edition. I am looking forward to working with my friends at our new site, Hello World. I know I will receive support and help as we continue our journey to learn PHP which began with Bean Fairbanks at LVS. And, I hope to be a source of support to my fellow PHP trekkers.

Visit Bean's Blog and learn more about what is happening at LVS in the PHP and MySQL areas. Try Bean's PHP101 class.

For this site, I have used colors similar to the blocks of color on the book cover. I should also note that the page does not pass CSS validation because of the Dreamweaver Spry Menu Bar and an item or two (the same errors repeat!)in the set up of the 3column hybrid. Adobe is working to correct that!

Syllabus

Chapter 1: Getting Started With PHP

  • Basic XHTML Syntax
  • Basic PHP Syntax
  • Testing Your Script
  • Sending Text to the Browser
  • Sending HTML to the Browser
  • Using White Space in PHP and HTML
  • Adding Comments to Your Scripts

Chapter 2: Variables

  • What are Variables?
  • Variable Syntax
  • Types of Variables
  • Assigning Values to Variables
  • Understanding Quotation Marks

Chapter 3: HTML Forms and PHP

  • Creating a Simple Form
  • Using GET or POST
  • Receiving Data from a Form in PHP
  • Displaying Errors
  • Error Reporting
  • The Register Globals Problem
  • Manually Sending Data to a Page

Chapter 4: Using Numbers

  • Creating the Form
  • Adding, Subtracting, Multiplying, and Dividing
  • Formatting Numbers
  • Incrementing and Decrementing a Number
  • Creating Random Numbers

Chapter 5: Using Strings

  • Creating the HTML Form
  • Connecting Strings (Concatenation)
  • Combating Magic Quotes
  • HTML and PHP
  • Encoding and Decoding Strings
  • Replacing Parts of a String
  • Other String Functions

Chapter 6: Control Structures

  • Creating the HTML Form
  • The if Conditional
  • Using Else
  • More Operators
  • Using elseif
  • The Switch Conditional
  • The For Loop

Chapter 7: Using Arrays

  • What Is an Array?
  • Creating an Array
  • Adding Items to an Array
  • Accessing Array Elements
  • Creating Multidimensional Arrays
  • Sorting Arrays
  • Transforming Between Strings and Arrays
  • Creating an Array from a Form

Chapter 8: Creating Web Applications

  • Creating Templates
  • Using External Files
  • Using Constants
  • Working with the Date and Time
  • Handling HTML Forms with PHP, Revisited
  • Making Forms Sticky
  • Sending Email
  • Output Buffering
  • Manipulating HTTP Headers

Chapter 9: Cookies and Sessions

  • What Are Cookies?
  • Creating Cookies
  • Reading from Cookies
  • Adding Parameters to a Cookie
  • Deleting a Cookie
  • What Are Sessions?
  • Creating a Session
  • Accessing Session Variables
  • Deleting a Session

Chapter 10: Creating Functions

  • Creating and Using Simple Functions
  • Creating and Calling Functions that Take Arguments
  • Setting Default Argument Values
  • Creating and Using Functions that Return a Value
  • Understanding Variable Scope

Chapter 11: Files and Directories

  • File Permissions
  • Writing to Files
  • Locking Files
  • Reading from Files
  • Handling File Uploads
  • Navigating Directories
  • Creating Directories
  • Reading Files Incrementally

Chapter 12: Intro to Databases

  • Introduction to SQL
  • Connecting to MySQL
  • MySQL Error Handling
  • Creating and Selecting a Database
  • Creating a Table
  • Inserting Data into a Database
  • Retrieving Data from a Database
  • Deleting Data in a Database
  • Updating Data in a Database

Chapter 13: Regular Expressions

  • What are Regular Expressions?
  • Matching Patterns
  • Using Literals
  • Using Metacharacters
  • Using Quantifiers
  • Using Classes
  • Matching and Replacing Patterns

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 



Warning: show_source() has been disabled for security reasons in /home/rjoannej/public_html/ullmanBook/index.php on line 273

Warning: show_source() has been disabled for security reasons in /home/rjoannej/public_html/ullmanBook/index.php on line 276