xtreme_dry Posted March 1, 2007 Share Posted March 1, 2007 hey ive got info uploading to a file in my server are there any good tutorials/scripts to show you how to create a download page which lists all the files in the folder and lets you download them on a click, the only tutorials ive found are ones where you have to type in the name of the folder in the url Link to comment https://forums.phpfreaks.com/topic/40702-download-page/ Share on other sites More sharing options...
boo_lolly Posted March 1, 2007 Share Posted March 1, 2007 as far as i know, it is in the link. as long as the link locates the file, the browser handles the rest. if the file is not an html or php or asp or whatever, it will handle it differently. so i'm pretty sure all you need is the direct link to the file in the href="" tag. this can be done using php instead of having to manually entering in each file's location. Link to comment https://forums.phpfreaks.com/topic/40702-download-page/#findComment-196999 Share on other sites More sharing options...
xtreme_dry Posted March 1, 2007 Author Share Posted March 1, 2007 just tried with an image but it just opens it in the browser Link to comment https://forums.phpfreaks.com/topic/40702-download-page/#findComment-197011 Share on other sites More sharing options...
trq Posted March 1, 2007 Share Posted March 1, 2007 Check out the force downloads thread in the FAQ / Snippets board. Link to comment https://forums.phpfreaks.com/topic/40702-download-page/#findComment-197014 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.