Posted by mcyi2mr3@lycos.co.uk on 10/01/65 11:31
Hi ive built a site which allows users to download mp3 files, after
having paid the fee at paypal the user is returned to my site to a page
called "paymentreceived.php". On this page currently i have a message
saying thank you for your payment and it displays the details of the
transaction including item id, username etc. Now i want there to be a
link that allows the user to click so that he can download the relevent
file from the "mp3s" subfolder. The snag is that I need to somehow
protect this folder so you cant just go in there and access the files
without first paying, yet I want to be able to bypass any security on
the folder to from the paymentreceived.php page so that the user can
access the relevent download.
I've looked all over the php site for support for this but have been
unable to find anything Any ideas guys!
Navigation:
[Reply to this message]
|