Hello,
I want to hide a file somewhere on my server. I then want to create a random url that will eventually expire(after a few days) which links to this file. Then I want to give this url to my customers in order for them to download the file.
I tried this tutorial at
http://forums.devshed.com/php-develo...url-38357.html This code works fine & is exactly what I'm looking for. The only problem with this code is the location of the secret file is eventually revealed in this line:-
PHP Code:
// Take the user to the file:
header("Location: http://mydomain.com/filedir/" . addslashes($n));
So how do I hide the actual location of the file?
Thanks.