Page 1 of 1

eCommerce (shopping carts) & downloads

Posted: Thu Aug 10, 2006 2:37 am
by dreamline
Hi All,
I've browsed through the forum and didn't see anything that could help me out. At the moment i'm working on a shopping cart system (plenty of info on that.. :D). What I would like to do is check if the download was successful and then kill the link I gave to purchaser, to avoid spreading the link to friends so they can download too. However if the download failed for some reason the link should still be accessible till a timeout has occurred for lets say 24 hours.

That last part isn't so hard to build I guess, the problem lies in the other part where you want to check if a download failed or was successfull.

Can this be done within PHP, or is FTP the way to do it? Or are there any scripts/programs that have this feature?

Any input is welcome.. :D

Thanks...