![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Dec 2007
Posts: 1
OS: vista
|
Download link for mp4 and other files
I recently did a page with a download link to an mp4 file however when you click on the link to download the file it start to download in the same browser window I changed the target link to open in new windows but all that does is make the short movie clip load in the other window is there a script I can use to make the file download when the link is clicked on instead of starting to open in new browser window. Right now the work around this is to right click on the link and then select "save target as" which is a bit less straight forward so I perfer if you could simply click the download link and the short movie clip is downloaded onto the visitors pc.
Any ideas on how I can get this done? |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
Join Date: Apr 2007
Posts: 41
OS: Ubuntu 8.10
|
Re: Download link for mp4 and other files
You are able to use PHP to trigger a file download, otherwise I'm not sure if something like that just depends on the browser. If you are planning on putting this page for view to the public, just know that this is an encoded music file type an other people will probably not be able to listen to it.
|
|
|
|
|
|
#3 (permalink) |
|
Moderator, TSF Articles
|
Re: Download link for mp4 and other files
There are download scripts you can use that allow you to do this.
Have a look through these: http://www.hotscripts.com/PHP/Script...ems/index.html |
|
|
|
![]() |
| Thread Tools | |
|
|