Hello! I need someone to write me some code that will take the server/root path (above public the directory) to a file - e.g: /var/www/vhosts/domain.co.uk/download/file-0-1.a.zip ...and serve the file to the user. An encrypted path should be passed in the URL - e.g. download.php?path=abcdefg12345678 Users must not be able to determine the path the the file. I.e. basic base64 is not good enough. The script must also prevent downloads outside of the "download" directory - /var/www/vhosts/domain.co.uk/download/ Finally, the script should only allow ZIP (.zip) and TEXT (.txt) files to be downloaded. No other file types (e.g. .php) should be allowed. This shouldn't take an experienced programmer too long. Please PM me with your quotations. I'll need the code to be delivered within 24 hours. Payment via PayPal only.
Do you have a setup script on your server and you want code for that? please pm me details i am also interested Thanks.
Guys, I don't know what more to add. I just need a single PHP page that takes the value of a path passed to it. E.g. download.php?path=some_encoded_string I already have a page that outputs the names of the files in a directory. These will be linked to the download script - e.g: <a href="download.php?path=some_encoded_string">File Name</a> Hence, I also need a function that will encode the file path on this page. The file path will then need to be decoded in download.php. ...and the file then served to the user. The file sizes are not too large (0.5 - 3 Mb). I also need some protection added to the download.php script so that if someone does figure out the method used to encode/encrypt the download path, then can then only download files (with a .zip or .txt file type) from the "downloads" directory. If you can do this, please PM me how much you will charge. You will need to provide me with the file that will serve the download and a function to encode/encrypt the file path (which will then be passed to the download script).
wel add me on msn i will have a look at your script ok and i will try my best to do your job i will do some modification and make your script work as you want Thanks
Can custom code this for you in less than a day for $20. Only $10 if I do not finish in 24 hours. I Have experience with security and file permissions so this will be a breeze. PM me if you're interested.
Hi, I'm a Freelance PHP MySQL programmer with 5+ yrs of exp , checkout my online portfolio linked at my signature to know more abt my skill-sets , projects , client references & contact details. I'm interested to work on this download this script. Pls do feel free to contact me for further details. Thanks.
I offered the work to both sajidshabbir and Alice. I'll be using Alice's script since the code is less bulky. A big thanks to both of you.