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) ? 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 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. 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.. 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 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
Archived
This topic is now archived and is closed to further replies.