Home  Courses  Custom dept.  Sales desk  Samples  Services  Help   

Phone 01636 893673
International
+44 1636 893673

Fax (0870) 051 7558
International
+44 870 051 7558

enquiries@firstalt.co.uk

Training Centres for this course:
Central London
Leeds

Administration office:
High Park Farm
Swinderby Road
Collingham
Nr. Newark
Notts NG23 7NZ.

PHP1

Introduction to PHP Programming

A four-day PHP course designed to enable web developers and others with limited programming experience to build dynamic e-commerce web sites. The course covers the most important range of functions in depth, and enables understanding of the remaining less essential aspects. The content of this PHP course is identical to a three day in-house PHP for Progammers course, but the pacing is adjusted to suit the needs of non-programmers. and public delegates.

Select here for related courses
Select here for a list of all courses

OBJECTIVES OF THE COURSE

To gain a thorough practical introduction in the use of the PHP language and to build confidence to use the skills immediately.

COURSE CODE PHP1 TUTORS Variousemail
DURATION 4 days VENUE Leeds Training Centre
Central London Training Centre**
PRICE £1375
 *
BOOKING CONTACT Mick Hosegood email
EXPERIENCE LEVEL Beginner/intermediate TECHNICAL CONTACT Mick Hosegood email
* For pricing for a course run especially for your organisation, please call 01636-893673

COURSE DATES:
Sep 2006
Oct
Nov
Dec
Jan 2007
Feb
Mar
Apr May June
July
25(Leeds)
2(London)
20(Leeds)
4(London)
- -
-

-  
-

CODES: :(CL) - Central London, (Le) - Leeds

INTENSITY: About 40% of the course is practicals, and 60% lectures.

RESOURCE: Each student will have exclusive use of a PC for the duration of the course. Each student will be provided with a full set of training notes relating to the course.

PREREQUISITES: Web developers and web designers with a modest amount of programming experience. Students will typically have used another simple or domain-specific language such as VBscript or Javascript. Basic knowledge of HTML and HTTP is a requirement; some knowledge of CSS, SGML and XML would be a definite advantage. Please call if you require any advice.

FOLLOW UPS:

Students would also benefit from our Two-day Apache Workshop course which gives essential instruction in the administration of the popular web server.

Please ASK about our other training courses - Perl programming, Samba, Unix and Solaris, TCP/IP Internet and the rest!

PRACTICALS / TAKEAWAYS: Each student leaves the course with his own set of training notes for the material covered.

Every student who attends this course at our training centre will be issued with a signed certificate of course completion, which we will be happy to "authenticate" upon future request.
Students on this course can print out their work and take it away with them.

SOFTWARE VERSIONS: Covers PHP Version 4

 

TOPICS COVERED ON THE COURSE

Introduction to PHP
History of PHP. Comparison with dynamic content alternatives (Perl, CGI, ASP, JSP, Servlets , CGI, etc) PHP tools and set up (web browser/server, editor, libraries, etc); create a basic PHP Script

Taking user input.
Selecting alternatives Use PHP to generate HTTP headers Pass PHP variables via the URL

Taking User Input from Forms via PHP
Creating forms with PHP. Using the form GET method. Using the form POST method Obtaining data from forms through variables Using hidden fields. Calling pages from themselves using forms. Quoting HTML entities in user input

Variables and Expressions in PHP
Identifiers. Data Types (integers, floats and strings). Creating Variables. Variable assignment Variable Scope. User-defined Constants HTTP environment variables

PHP Operators
Arithmetic Operators. Logical Operators. Relational Operators. Bitwise Operators. Other Operators. Assignment Operators

Conditional Tests and Events in PHP
True and False. If, else and elseif. The switch / case statement. The ? Operator Comparing for equality or identity

PHP Flow Control
Loops: while, do ... while, for, break and continue, exit

PHP Functions
Purpose of functions. Built-in functions. Declaring functions. Arguments to functions. return. Scope (global vs local). Recursion. Variable function calls

Storing Data in Arrays using PHP
What are arrays?. How and when to use arrays Indexing arrays. Initialising arrays. Add/remove info from arrays. One-dimensional arrays. Multi-dimensional arrays. Array-related functions.

Handling Databases with PHP
PHP's database APIs. Error-handling strategies. Connection/disconnection, log in/log out. Including common access functions. Doing simple SQL queries via PHP. Building HTML tables using SQL Queries

Using Cookies with PHP
Cookie properties. Setting a cookie in PHP Retrieving PHP cookies. Expiring/Deleting PHP cookies. Drawbacks to cookies. Using cookies well. Cookie Security Issues

Session Management in PHP
What is a session?. Dependencies on the php.ini file. Understanding PHP session variables. Create a PHP session variable. Register and modify PHP session variables. Putting PHP session IDs in pages. Good Practice with sessions and PHP

PHP Sessions and databases
File and Directory Access Using PHP Opening files, local and remote. Reading and writing files. include. require. Handling file permissions. Handling file ownership. File locking. Opening and reading directories. File uploads from the browser/user

Other I/O Issues in PHP
Getting IP adresses from visitors. Getting referring urls from visitors. Shell Commands. Environment variables. Showing different content to different browsers (IE, Netscape, Mozilla, Opera, etc). Debugging. Handling HTTP and MIME headers

Handling Email with PHP
Sending email. Unix and NT setup Attachments with PHP

Objects in PHP
Object basics. Inheritance. Classes in PHP Constructor functions .Accessing instance data and functions

Graphics in PHP
Graphics basics Image MIME type Basic examples Creation from an existing image Image copying and resizing Drawing text on images True Type fonts

 

SPECIAL SAVINGS FOR PACKAGE BOOKINGS

Package Bookings
Further discounts are available for certain packages of courses. Please call 01636-893673 for details.

 
Fiercely inde dent
 

 

© 2006 First Alternative. All rights reserved.