Morning guys,
I've been working on a shopping cart to sell flash source files.
All is working fine apart from the last vital part 'The download of purchased files'
At present when the user purchase's a file they are sent an email with the link to the file.
The link is to a php script. The purchase id and the file id are sent along the link.
A check is done to see if the id's are valid and if they are then get the file url.
This is were i am stuck. As soon as the validation is complete the file url is passed to the header:
header("location:".$dlsUrl);
This open a broswer page displaying the full path to the file. Anyone with half a clue could access the rest of my file pretty easily.
Does anyone know of a better way of doing this so that the file url is masked?
Thanks
Paul