Introduction to PHP and MySQL
Why PHP and MySQL?
The combination of PHP and the MySQL database now provides the most widely used solution for creating dynamic websites. Together with the Apache web server, these Free software applications provide the foundation for many standard web hosting plans. During the course you will learn how to hand code a dynamic website, using a development environment on your local computer that matches the server environment where your site will eventually be hosted.
Who should do this course?
Anyone looking to hand code a database-driven website using PHP and MySQL. Participants should have already completed the Dreamweaver CS4: Website Development course or have the equivalent experience and understanding of HTML and CSS.
About the course:
During the 4-day course, participants will step through how to build an entire dynamic website, ensuring that they have the necessary experience, skills and confidence to build a dynamic website later on. Participants will learn how to:
- install and configure the Apache, PHP, and MySQL software,
- write commands in Structured Query Language (SQL), the language used to query and modify the MySQL database,
- gather and process information from forms,
- handle file uploads,
- create an online gallery, and
- password-protect your pages.
The course puts an emphasis on using secure coding practices.
Quick Facts
| Level: |
Beg / Int |
Price: |
$2200.00 incl GST |
You will receive: |
| Duration: |
4 Days |
Discounts*: |
2 Students - 10% |
- Certificate of completion |
| Size: |
10 |
|
3 Students - 15% |
- Training Manual |
| Times: |
9.00am to 5.00pm approx |
|
4 Students - 20% |
- 12 months FREE email support* |
| Pre-requisites: |
Refer to course description |
Bonus: |
2 FREE |
- FREE class re-sit (if necessary)* |
| |
|
|
Movie Tickets |
Course Brochure: |
| |
|
|
|
PHP.pdf |
| |
|
|
|
|
| * Conditions apply. |
|
Upcoming Courses
|
Sydney
Level 11, 32 Walker Street
North Sydney
View map
|
- Date:
- 22-25 Mar 10
- 03-06 May 10
- 22-25 Jun 10
|
|
Melbourne
Level 12, 379 Collins Street
Melbourne
View map
|
- Date:
- 23-26 Mar 10
- 18-21 May 10
|
|
Brisbane
C/- Support Technology, Level 6, 371 Queen St
Brisbane
View map
|
Date: upon demand
|
|
Canberra
C/- Training Choice, Level 12, 15 London Circuit
Canberra
View map
|
Date: upon demand
|
|
Adelaide
C/- Mindfull Computer & Seminar, Level 4, 74 Pirie Street
Adelaide
View map
|
Date: upon demand
|
For more information on dates or locations, please call
1300 888 724 or
enquire online.
Course Units
- Unit 1: Introducing the Course
- - Getting familiar with the course methodology and format
- - Understanding the course objectives and pre-requisites
- - Why PHP and MySQL?
|
- Unit 2: Installing the Software
- - Installing Notepad (text editor) and WinMerge (file comparison utility)
- - Installing Apache
- - Installing PHP
- - Configuring Apache to work with PHP and testing PHP
- - Checking your PHP settings
|
- Unit 3: Writing PHP Scripts
- - Using variables
- - Commenting scripts
- - Using arrays to store multiple values
- - Using quotes correctly
- - Loops and functions
- - Displaying PHP output
|
- Unit 4: Using Includes to Streamline your Workload
- - Including content from other files
- - Identifying the current page with PHP
- - Creating pages with variable content
- - Dealing with missing include files
- - Displaying a random image
- - Using includes securely
|
- Unit 5: Bringing Forms to Life
- - Gathering information from a form with PHP
- - Sending email from a form
- - Validating user input
- - Handling multiple choice form elements
- - Redirecting to another page
|
- Unit 6: Uploading Files
- - Checking that your server supports uploads
- - Creating an upload directory
- - Checking filenames
- - Refusing large files
- - Restricting file types
- - Preventing files from being overwritten
|
- Unit 7: Managing Files with PHP
- - Checking that PHP has the necessary permissions
- - Reading files in a single operation
- - Read/write operations
- - Replacing content in a file
- - Appending content to a file
- - Exploring the file system
|
- Unit 8: Generating Thumbnail Images
- - PHP's image manipulation functions
- - Generating a scaled down version of an image
- - Resizing an image automatically on upload
- - Giving each thumbnail a unique name
|
- Unit 9 : Simple Login and Multipage Forms
- - Session management with PHP
- - Creating and destroying session variables
- - Using sessions to restrict authentication
- - Setting a session time limit
- - Passing information through multipage forms
|
- Unit 10: Setting up MySQL and phpMyAdmin
- - Installing and configuring MySQL
- - Installing and configuring phpMyAdmin
- - Launching phpMyAdmin
- - Installing the MySQL GUI Tools
|
- Unit 11: Getting Started with the MySQL Database
- - Introduction to database management
- - Setting up the MySQL database
- - Creating MySQL user accounts
- - Connecting to MySQL with PHP
- - Finding the number of records in a database query
- - Displaying the results of a query
|
- Unit 12: Creating a Dynamic Online Gallery
- - Planning the image gallery
- - Passing information with a query string
- - Displaying database results in a multicolumn table
- - Selecting subsets of records
- - Navigating through long record sets
|
- Unit 13: Managing Content
- - Safeguarding your data from SQL injection attacks
- - Writing SQL queries
- - Setting up a content management system
- - Creating the necessary database table
- - Inserting, updating, and deleting records
|
- Unit 14: Solutions to Common PHP/MySQL Problems
- - Extracting characters, words, paragraphs, and sentences from text
- - Manipulating dates
- - Working with multiple database tables
- - Finding records with no matching foreign key
- - Using lookup tables to resolve many-to-many relationships
- - Deleting records with dependent foreign keys
|
- Unit 15: Securing your Website from Intruders
- - Encrypting methods
- - Using one-way and two-way encryption
- - Registering new users
- - Updating user details
|