eCommerce (shopping carts) & downloads

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dreamline
Forum Contributor
Posts: 158
Joined: Fri May 28, 2004 2:37 am

eCommerce (shopping carts) & downloads

Post 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...
Post Reply