Unix hosted, I need people to be able to log in with a supplied pin, checks their pin is valid, shows them a button to download a file, they click the link, db is updated to say they've downloaded the file, header redirect to fire open the file, pin is no longer valid...
Now I think I'm pretty much ok with doing all that in PHP, but the file in question is one mp3 file (a promo sample) so the only way I want this to be accessed is via this process so if people direct link to try and dl it, it tells em to sod off... Well redirects to the login page.
Any ideas?
Now I think I'm pretty much ok with doing all that in PHP, but the file in question is one mp3 file (a promo sample) so the only way I want this to be accessed is via this process so if people direct link to try and dl it, it tells em to sod off... Well redirects to the login page.
Any ideas?