Support Forums

Full Version: Really need some php help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
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.