PHP Scripting for the Web
Level 5, 20 Credits.
- Not Presently Available.
Get the latest updates on our courses
Please use our subscription page to register your interest, and we will keep you updated on all relevant information and news about subjects you have chosen.
This course covers the fundamentals of PHP scripting in a web environment to produce dynamic web pages. Modules include conditional logic, form validation, file handling and manipulation of external data sources (XML). This course assumes knowledge of the topics covered in the Web Development with HTML and CSS course, or requires students to have a good understanding of the use of HTML. See the computing page on www.cardiff.ac.uk/learn for details.
Who is this course for?
This course is designed for the student who wants a good introduction to the use of PHP scripting in Web Publishing.
Learning and Teaching
This module includes a mix of traditional lectures and laboratory sessions. Each meeting starts with a lecture and finishes with a laboratory session.
Coursework and Assessment
To award credits we need to have evidence of the knowledge and skills you have gained or improved. Some of this has to be in a form that can be shown to external examiners so that we can be absolutely sure that standards are met across all courses and subjects.
During the course, students will be given assignments to be submitted to the course tutor. At the end of the course, there will be a class test.
The most important element of assessment is that it should enhance your learning. Our methods are designed to increase your confidence and we try very hard to devise ways of assessing you that are enjoyable and suitable for adults with busy lives.
How the PHP script is processed
Advantages of PHP against other cgi scripting methods
Debugging a script
Basic loop and conditional structures
Arrays including associative arrays
Interaction with HTTP and environmental variables
Server side versus Client side form validation
Mailing form data
Implementation of functions in PHP
Using Regular Expressions
- C Cosentino, Essential PHP for web professionals, Prentice Hall, 2001
- Web sites e.g. The URL for the PHP manual is: www.php.net/php.resourceindex.com