thepalace1 Posted April 10, 2007 Share Posted April 10, 2007 I am starting out with php so please be gentle. I am cuurently trying to learn php and have created a site with an upload file facility, when they upload the file, my php script saves it on the server in a folder i dont wish to expose to anyone. now i need this folder to stay secret and not to allow the uploader to know what the new name of the folder is, this is all done. But when a person searches my site for uploads by keyword or description (which the original uploader set) and finds one he wants to download how can i create a script that allows them to download it but not show the path of the file they are downloading. Hopefully you get what i am trying to say. Any help welcomed. David Link to comment https://forums.phpfreaks.com/topic/46415-downloading/ Share on other sites More sharing options...
Lumio Posted April 10, 2007 Share Posted April 10, 2007 by header() and readfile() Link to comment https://forums.phpfreaks.com/topic/46415-downloading/#findComment-225738 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.