Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Really need some php help!
#1
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!
Reply
#2
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.
[Image: cooldude.png]

(09-05-2011, 08:36 AM)Orgy Wrote: If you understand what you're doing, you aren't learning anything. ;)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 943 07-27-2020, 11:26 PM
Last Post: tk-hassan
  PHP Video Tutorials (PHP For Beginners) Eleqtriq 4 3,671 10-10-2011, 01:00 PM
Last Post: Greyersting

Forum Jump:


Users browsing this thread: 1 Guest(s)