Nicolas Verhaeghe wrote: > [snip] > > >>I'm creating my own Object Oriented PHP Shopping Cart. > > > Okaaaaaaay. > ... > > To answer our friend, he seems to have to learn to develop simple > applications before starting building something as complex as a > shopping cart. Not only complex, but also sensitive, because the end > of the process is to handle credit card numbers, and I would not trust > a beginner to handle that type of information. get ready for a 'Richard Lynching' with regard to the CC statement. ;-) unless your name is VISA (or somethin gin a similar vein) you don't ever touch a creditcard number - ever, ever, ever. this saves you getting sued, your house being sold from underneath and consequently your wife leaving you. Richard Lynch has given very detailed responses to the issues of handling credit cards on numerous occasions on this list - do yourself a favor and search the archives and read what he had to say - his is sound advice imho. > > Functions that perform operations such as manipulating objects (a > shopping cart is an object, after all, so are the items, and the > client's > information) are simply performed at the top and the functions which display > the changes or prompts the buyer for operations are shown at the bottom, > it's all very straight and linear. > ---------------------- Actually you do not touch a credit card when your name is Visa. Credit card authorization is done with credit card processors and of course you have to "touch" credit card numbers in order to communicate with those. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php