Re: [PHP] credit card purchase and downloads

2006-04-27 Thread siavash1979
Thank you very much Stut, great points. I didn't even think about wanting to display a list of files they have access to. I guess I'll go with the simpler way and save myself a lot of overhead. As I said, I've never made a site that had anything to do with money before, this is the first time. I

Re: [PHP] credit card purchase and downloads

2006-04-27 Thread Stut
[EMAIL PROTECTED] wrote: is that really secure? I just thought if for any reason, someone can get into my database, they can't just add usernames and file ids to my table and have access. I thought if I md5 it, then it'll be more secured. would 1 table for username-fileid really be fine? If

Re: [PHP] credit card purchase and downloads

2006-04-27 Thread Stut
[EMAIL PROTECTED] wrote: well is that a secure way? I thought if I use md5 and so on it'll make it more secure and harder to hack. would a table for user-fileid be good enough? I don't really know why I thought it had to be secured, I just don't want it to be eaily hacked. Unless I'm not unde

Re: [PHP] credit card purchase and downloads

2006-04-27 Thread siavash1979
is that really secure? I just thought if for any reason, someone can get into my database, they can't just add usernames and file ids to my table and have access. I thought if I md5 it, then it'll be more secured. would 1 table for username-fileid really be fine? thanks, Sia Quoting Stut <

Re: [PHP] credit card purchase and downloads

2006-04-27 Thread Stut
[EMAIL PROTECTED] wrote: 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

[PHP] credit card purchase and downloads

2006-04-27 Thread siavash1979
hi guys, I'm planning to add paid downloads of some speech files on one of my customers website. Basically I want people to be able to pay for a speech and then be able to download it. it's the first time I wanna do anything like this, so I was thinking to myself to do it this way: when they p