jimath Posted February 28, 2007 Share Posted February 28, 2007 hello everyone! i have an icon corresponded to a wav file. <a href="file.wav"><img src="icon.gif" width="20" height="20" alt=".wav File"> how to force a user download the file (the wav file) ? Quote Link to comment https://forums.phpfreaks.com/topic/40554-how-to-force-a-user-download-a-file/ Share on other sites More sharing options...
redarrow Posted February 28, 2007 Share Posted February 28, 2007 http://www.phpfreaks.com/forums/index.php/topic,95433.0.html Quote Link to comment https://forums.phpfreaks.com/topic/40554-how-to-force-a-user-download-a-file/#findComment-196240 Share on other sites More sharing options...
Orio Posted February 28, 2007 Share Posted February 28, 2007 I use the script that is in here, and it works great. http://elouai.com/force-download.php Orio. Quote Link to comment https://forums.phpfreaks.com/topic/40554-how-to-force-a-user-download-a-file/#findComment-196244 Share on other sites More sharing options...
jimath Posted February 28, 2007 Author Share Posted February 28, 2007 thanks, but i dlike a simpler explanation because i don't understand the mechanism.. Quote Link to comment https://forums.phpfreaks.com/topic/40554-how-to-force-a-user-download-a-file/#findComment-196265 Share on other sites More sharing options...
Snooble Posted February 28, 2007 Share Posted February 28, 2007 read orios... it's pretty well explained there. Snooble Quote Link to comment https://forums.phpfreaks.com/topic/40554-how-to-force-a-user-download-a-file/#findComment-196270 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.