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 course
PHP Programming
Examples from our training material
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.
Course links
The following web pages are used as references / examples in this module
[
Link] INACCESSIBLE
(at https://pine.he.net/~wellho/regex/mousemat.php4)
We check these links from time to time with a spider written in PHP. Latest full check was on Saturday, 12th June 2004. Titles are extracted from the web pages listed.
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 600 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.