Re: credit card purchase and downloads

From: Date: Thu, 27 Apr 2006 21:49:41 +0000
Subject: Re: credit card purchase and downloads
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-234962@lists.php.net to get a copy of this message
siavash1979@telus.net wrote: <snipped a confusing idea>
Any idea if this is a good way to do this or not? any better suggestions? is this secured?
I'm confused. What's wrong with having a table containing a row per file, then having another table containing the users. Add a third table containing two fields, username and fileid, which contains one row per user per file they've purchased. When they try to download a file you check against that table. Maybe I'm missing the point of all the md5 crap. If so, please enlighten me. -Stut

« previous php.general (#234962) next »