Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Example Simple HTML & PHP Page
The Semicolon!
White Space
PHP - Variables
A Quick Variable Example
PHP Variable Naming Conventions
PHP - Echo
Outputting a String
Careful When Echoing Quotes!
Echoing Variables
Echoing Variables and Text Strings
PHP - Strings
PHP - String Creation
PHP - String Creation Single Quotes
PHP - String Creation Double-Quotes
PHP - String Creation Heredoc
PHP - Operators
Assignment Operators
Arithmetic Operators
Comparison Operators
String Operators
Combination Arithmetic & Assignment Operators
Pre/Post-Increment & Pre/Post-Decrement
Using Comments in PHP
PHP Comment Syntax: Single Line Comment
PHP Comment Syntax: Multiple Line Comment
Good Commenting Practices
The Include Function
An Include Example
What do Visitors See?
Include Recap
PHP Require Function
Require vs Include
PHP - Elseif
PHP - Elseif What is it?
PHP - Using Elseif with If...Else
PHP Switch Statement
PHP Switch Statement: Speedy Checking
PHP Switch Statement Example
PHP Switch Statement: Default Case
Using PHP With HTML Forms
Creating the HTML Form
PHP Form Processor
PHP & HTML Form Review
PHP Functions - Practice Makes Perfect
PHP - Arrays
PHP - A Numerically Indexed Array
PHP - Associative Arrays
PHP - While Loop
PHP - For Loop
For Loop Example
PHP For Each Loop
PHP For Each: Example
Foreach Syntax: $something as $key => $value
PHP - Do While Loop
PHP - While Loop and Do While Loop Contrast
POST - Review
Security Precautions
PHP - Magic Quotes
Magic Quotes - Are They Enabled?
Magic Quotes in Action
Removing Backslashes - stripslashes()
PHP htmlentities Function
PHP - Converting HTML into Entities
When Would You Use htmlentities?
PHP - Files
PHP - Files: Be Careful
PHP - Files: Overview
PHP - File Create
PHP - Creating Confusion
PHP - How to Create a File
PHP - Permissions
PHP - File Open
PHP - Different Ways to Open a File
PHP - Explanation of Different Types of fopen
PHP - File Open: Advanced
PHP - File Open: Cookie Cutter
PHP - File Open: Summary
PHP - File Close
PHP - File Close Description
PHP - File Close Function
PHP - File Write
PHP - File Open: Write
PHP - File Write: fwrite Function
PHP - File Write: Overwriting
PHP - File Read
PHP - File Open: Read
PHP - File Read: fread Function
PHP - File Read: gets Function
PHP - File Delete
PHP - File Unlink
PHP - Unlink Function
PHP - Unlink: Safety First!
PHP - File Append
PHP - File Open: Append
PHP - File Write: Appending Data
PHP - Append: Why Use It?
PHP - File Truncate
PHP - File Open: Truncate
PHP - Truncate: Why Use It?
PHP - File Upload
PHP - File Upload: HTML Form
PHP - File Upload: What's the PHP Going to Do?
PHP - File Upload: uploader.php
PHP - File Upload: move_uploaded_file Function
PHP - File Upload: Safe Practices!
PHP - String Position - strpos
Searching a String with strpos
Finding All Occurrences in a String with Offset
PHP str_replace Function
str_replace Parameters
str_replace Simple Example
str_replace Arrays: Multiple Replaces in One
PHP substr_replace Function
substr_replace's Four Parameters
substr_replace On Your Mark
substr_replace Specifying a Length
substr_replace Perform an Insert
PHP - String Capitalization Functions
Converting a String to Upper Case - strtoupper
Converting a String to Lower Case - strtolower
Capitalizing the First Letter - ucwords
PHP - String Explode
The explode Function
explode Function - Setting a Limit
PHP - Array implode
PHP implode - Repairing the Damage
PHP Date - Robust Dates and Times
PHP Date - The Timestamp
PHP Date - What Time Is It?
PHP Date - Supplying a Timestamp
PHP Date - Reference
PHP Sessions - Why Use Them?
PHP Sessions - Overview
Starting a PHP Session
Storing a Session Variable
PHP Sessions: Using PHP's isset Function
Cleaning and Destroying your Session
PHP Cookies - Background
Creating Your First PHP Cookie
Retrieving Your Fresh Cookie
0 of .
Results for:
No results containing your search query
P. 1
PHP Tutorial - 1

PHP Tutorial - 1

Ratings: (0)|Views: 505|Likes:
Published by hanyar_bisa

More info:

Published by: hanyar_bisa on Mar 14, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 5 to 27 are not shown in this preview.
You're Reading a Free Preview
Pages 32 to 83 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->