Sei sulla pagina 1di 2

PHP Introduction

Prerequisites
Students should have an advanced knowledge of HTML coding. Introduction to UNIX or equivalent experience in shell programming in a UNIX environment is required. Experience in CGI progrmming with Perl is an asset.

Objectives
By the end of this course, you will be able to: Describe what PHP is and the advantages of creating Web sites with PHP. Use variables, arrays, and functions in PHP scripts. Include other files in PHP scripts and manipulate files and directories. Process forms and validate their information. Incorporate hidden form fields, cookies, and session variables in PHP scripts. Add, update, and delete records in a database using PHP.

Description
This course explores all of the major elements of PHP programming. With PHP, you can build dynamic, data-driven Web sites that use a variety of databases. Easy-tounderstand code samples are used to demonstrate the many elements and techniques used in PHP programming.

Computer Training at Dalhousie B269-6225 University Avenue Killam Memorial Library Dalhousie University Halifax NS B3H 4H8 Canada Tel: 902.494. 2636 Fax: 902.494.2063 E-mail: Computer.Training@dal.ca Web: www.dal.ca/ct

COMPUTER TRAINING AT DALHOUSIE Detailed Outline Introduction to PHP


What is PHP? Basic Syntax of PHP

Common PHP Script Elements


Using Variables Working With Arrays Using Functions

File and Directory Handling


Including Files File Access

Working With Forms


Processing Forms Form Validation E-Mailing Form Data

Addressing the Stateless Nature of HTTP


Hidden Form Fields Cookies Sessions

Accessing Databases With PHP


Interacting With Databases Modifying Database Records Using PHP

Computer Training at Dalhousie

Potrebbero piacerti anche