You are here: downloading a file from a protected directory after payment « All PHP « IT news, forums, messages
downloading a file from a protected directory after payment

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация