Re: [PHP] Creating an OO Shopping Cart

2006-05-07 Thread Porpoise
""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Contact the bank with which you already HAVE a merchant account for your point-of-sale credit card swiper thingies. You're already working with them, paying them good money for essentially the "same" services.

RE: [PHP] Creating an OO Shopping Cart

2006-05-04 Thread Chris W. Parker
Richard Lynch on Thursday, May 04, 2006 2:06 AM said: > Contact the bank with which you already HAVE a merchant account for > your point-of-sale credit card swiper thingies. Already have the info in front of me. :) > If you're re-doing it anyway, you might as well

RE: [PHP] Creating an OO Shopping Cart

2006-05-04 Thread Richard Lynch
On Wed, May 3, 2006 5:15 pm, Chris W. Parker wrote: > Steve > on Friday, April 21, 2006 5:58 PM said: > >> So everyone's aware, I have NO intention of storing credit card #'s. >> I >> don't see why anyone needs to.. especially after reading Richard's >> past post

Re: [PHP] Creating an OO Shopping Cart

2006-05-03 Thread Mark Charette
Chris W. Parker wrote: I'm definitely open to suggestions on how we can minimize our customers' risk At least run GPG on the data immediately, keep the private key somewhere other than on the server, and decrypt only for the moment its needed. -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Creating an OO Shopping Cart

2006-05-03 Thread Chris W. Parker
Edward Vermillion on Wednesday, May 03, 2006 4:15 PM said: > Ahh!! *thud* > > Count me in the heart attack group. So would it be a reasonable risk > if it was *your* cc # that was stolen? And do your customers *know* > that you're handling their sensitive in

Re: [PHP] Creating an OO Shopping Cart

2006-05-03 Thread Edward Vermillion
On May 3, 2006, at 5:15 PM, Chris W. Parker wrote: We don't get a lot of orders* so at worst if the db were stolen there'd be possibly 5-10 cc numbers in there. Some people (possibly Richard) would have a heart attack to hear something like that but we've decided that it's a reasonable r

RE: [PHP] Creating an OO Shopping Cart

2006-05-03 Thread Chris W. Parker
Steve on Friday, April 21, 2006 5:58 PM said: > So everyone's aware, I have NO intention of storing credit card #'s. I > don't see why anyone needs to.. especially after reading Richard's > past posts in the archive. Perhaps if you don't use a merchant account

Re: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Steve
Richard... you're amazing. Good on you for just standing up there, stating your position and defending it like there's no tomorrow! So everyone's aware, I have NO intention of storing credit card #'s. I don't see why anyone needs to.. especially after reading Richard's past posts in the ar

RE: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Robert Cummings
On Fri, 2006-04-21 at 17:59, Nicolas Verhaeghe wrote: > [snip] > > Some guys are shaking their heads in denial on this, but I swear to god, I > have seen it. I am not making this [bleep] up. Credit card numbers have > been sitting for YEARS in some boutique home-rolled shopping cart system > MyS

RE: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Nicolas Verhaeghe
[snip] Some guys are shaking their heads in denial on this, but I swear to god, I have seen it. I am not making this [bleep] up. Credit card numbers have been sitting for YEARS in some boutique home-rolled shopping cart system MySQL database with the oh-so-clever username/password of nobody/nobo

RE: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Nicolas Verhaeghe
-Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 2:18 PM To: Steve Cc: php-general@lists.php.net; Richard Lynch Subject: Re: [PHP] Creating an OO Shopping Cart On Thu, April 20, 2006 11:24 pm, Steve wrote: > > Yes, there is a TON of

Re: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Richard Lynch
On Fri, April 21, 2006 5:09 am, Jochem Maas wrote: > Nicolas Verhaeghe wrote: > get ready for a 'Richard Lynching' with regard to the CC statement. > ;-) Oh, let's do the children's version today. :-) You know that game Hot Potato? Yeah? Good. A CC # is just like the Hot Potato in that game.

Re: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Stut
Richard Lynch wrote: Or not, as I'm betting not one of you can say something I haven't heard yet... When I close my eyes I see images of donkeys with unicorn-like horns jumping over the moon with ponies on their backs. To be perfectly honest it does worry me sometimes. -Stut -- PHP General

Re: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Richard Lynch
On Thu, April 20, 2006 11:24 pm, Steve wrote: > > Yes, there is a TON of source code, and Yes, most of it is very > very > > very badly-written, and Yes, that's because they started typing > just > > like you are now instead of actually figuring all this [bleep] out > in > > advance. :-) > > Th

RE: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Nicolas Verhaeghe
Nicolas Verhaeghe wrote: > [snip] > > >>I'm creating my own Object Oriented PHP Shopping Cart. > > > Okaaay. > ... > > 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

Re: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Jochem Maas
Nicolas Verhaeghe wrote: [snip] I'm creating my own Object Oriented PHP Shopping Cart. Okaaay. ... 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,

RE: [PHP] Creating an OO Shopping Cart

2006-04-20 Thread Nicolas Verhaeghe
[snip] > I'm creating my own Object Oriented PHP Shopping Cart. Okaaay. You're doing this just for fun and education, right? Cuz, seriously, it's about 100 X harder than you think to get a bunch of details you've never even thought about correct. And there are about 100 shopping carts alre

Re: [PHP] Creating an OO Shopping Cart

2006-04-20 Thread Steve
Richard Lynch wrote: > Yes, there is a TON of source code, and Yes, most of it is very very > very badly-written, and Yes, that's because they started typing just > like you are now instead of actually figuring all this [bleep] out in > advance. :-) Hi Richard Thank you for taking the time to

Re: [PHP] Creating an OO Shopping Cart

2006-04-20 Thread Martin Alterisio
The $_SESSION array is already being serialized before saving it to the session datafile. You'll only have to: $_SESSION['cart'] = $cart; And before session_start(): require_once 'fileWhereClassIsDefined'; . . . session_start(); If the class isn't defined before serialization (session start) an

Re: [PHP] Creating an OO Shopping Cart

2006-04-20 Thread Richard Lynch
On Thu, April 20, 2006 7:14 pm, Steve wrote: > I'm creating my own Object Oriented PHP Shopping Cart. Okaaay. You're doing this just for fun and education, right? Cuz, seriously, it's about 100 X harder than you think to get a bunch of details you've never even thought about correct. And th

Re: [PHP] Creating an OO Shopping Cart

2006-04-20 Thread Paul Novitski
At 05:14 PM 4/20/2006, Steve wrote: I'm creating my own Object Oriented PHP Shopping Cart. I'm confused about the best way to call the functions of the class given the "static" nature of the web. For example, if I have a function addItem($code), how will this be called from the catalog or pr

[PHP] Creating an OO Shopping Cart

2006-04-20 Thread Steve
Hi I'm creating my own Object Oriented PHP Shopping Cart. I'm confused about the best way to call the functions of the class given the "static" nature of the web. For example, if I have a function addItem($code), how will this be called from the catalog or product description pages where the