Really need some php help! - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: Really need some php help! (/showthread.php?tid=22803) |
Really need some php help! - Swifty! - 10-22-2011 Hey, I have an index directory script that i use to list my files available for downloads. It has the option to have force download on or off. I want to insert a download button at the begginning of each filename so they can click the button for a direct download or click the filename just to open the file in their browser. Can someone please help me add that button? The script is used at; swiftyy.com/download And here is my source; pastebin.com/4m9xb88c Thanks in advance! RE: Really need some php help! - ★Cooldude★ - 10-27-2011 You need to send the correct headers for the download page. Sadly, I'm not quite sure what these are from the top of my head. |