Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Related technical and longer articles
Shopping cart application in PHP
Tips and short articles on this subject
Kiss and Book
PHP Techniques - a workshop
Efficient PHP applications - framework and example
Resetting session based tests in PHP
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
PHP module H116
Shopping Cart Application in PHP
Exercises, examples and other material relating to training module H116. This topic is presented on public courses Learning to program in PHP, PHP Programming

PHP Programming - Learn PHP, and its use as a Web-scripting language This course covers the fundamentals of programming in PHP and Web-related issues ...
http://www.wellho.net/course/phfull.html  [course]
Learning to program in PHP - Learn PHP, and its use as a Web-scripting language This course covers the fundamentals of programming in PHP and Web-related ...
http://www.wellho.net/course/pffull.html  [course]
div class= introsubheads OVERVIEW BR /div This module is a worked example - a simple shopping cart application which uses the power of PHP and its ...
http://www.wellho.net/solutions/php-shop ... n-php.html  [longer article]
So many people know the basis of PHP - the language constructs themselves and how they work individually - but could really benefit from learning how ...
http://www.wellho.net/mouth/1623_PHP ... kshop.html  [short article]
There are many elements to your on line application - there's the "look" (1), the "feel" (2), the algorithms behind it (3), and the way the whole thing ...
http://www.wellho.net/mouth/1487_Eff ... ample.html  [short article]
I was writing and testing a PHP session based application - one in which a series of pages are linked together to make up a complete system - yesterday. ...
http://www.wellho.net/mouth/1321_Res ... n-PHP.html  [short article]
The headline on our story reads "We've got a New Online Booking System for our Open Source courses" ... but there's a story behind that headline. We ...
http://www.wellho.net/mouth/1634_Kis ... -Book.html  [short article]

Many PHP applications are based around a shopping cart Ð a user selecting a series of products from around a site, which are then presented as a total order, cost is added up, then is checked out. This module is an example of such a script, and covers issues such as handling user entry errors, selection of products by category where you have too many products to fit on one page, cleaning up aborted order files, and accepting credit card payments on line.

This topic is presented on public courses Learning to program in PHP, PHP Programming

Examples from our training material
carter.php4   Session demonstration - full shopping cart
getaddy.htp   Template web page for carter.php4
getccard.htp   Template web page for carter.php4
getshop.inc   Functions for carter.php4 and other shopping cart apps
offer.htp   Template web page for carter.php4
thankyou.htp   Template web page for carter.php4
Pictures
Learn how PHP works in YOUR application
Background information
This module is available under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
The store front page.
Under the hood.
Adding to the shopping cart.
User Details.
The final phase.
Complete carter.php4 file.
Using a secure server for credit card details.
What is SSL and https?.
How can you use https?.
Programming implications for using a secure service.
Programming to use an electronic payment system.
Commercial matters.
Credit card agreements.
Data Protection.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


© WELL HOUSE CONSULTANTS LTD., 2009: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho