Jump to content

file download


kaliok

Recommended Posts

Hi

 

Hopefully someone can help answer this. I would like to give people the ability to download wmv and mp3 files from my site. They are already embedded and play fine through various players but I ALSO want to have a plain text link that users can click to download the files to their own computer. Having the file open in a new window obviously doesn't work since it just plays the file in that new window. I want it to directly download the file, without the need to right click or do anything but click a link. I also don't want to have to zip the file. Is this possible, if so, how do I do it. Thanks for any help in advance.

 

 

Link to comment
Share on other sites

Thanks for your quick response. I know zipping the file would solve the problem, but would prefer not to do that. Could you point me in the right direction for using php to give the user the ability to download the files. Thanks again.

Link to comment
Share on other sites

htmlstig, I am certain that would work like an image/gif type - it would open it in a new window and attempt to play it.

 

kaliok.  It can be a timely thing to set up a download section using PHP, but this site makes it somewhat easier.

 

http://www.zubrag.com/scripts/download.php

 

I have used it once before.  Now my PHP knowledge is a most likely better than your own - but if you follow the instructions that are included you may not run into any problems.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.