| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jul 2006
Posts: 2
![]() | HTML code for doing downloading files I am trying to install code that would allow my viewers the ability to download National Geographic map files of different hiking routes I have made, but I have not had any success. Here is the code I am using: <A HREF = "/gallery/maps/images/NS-TP-05/map.tpo"> <IMG SRC = "/buttons/download.jpg" BORDER = "0"></A> My expectation is this code/browser would use my download facility on my system to copy the file map.tpo to my desktop. Instead, the contents of the binary file is copied into a new browser window which is not the expected behavior for downloading. I got this code from another website that supports downloading these kinds of files and everything worked just fine. Can any one tell me what I am doing wrong? |
| |
| | THREAD STARTER #4 (permalink) |
| New Member Join Date: Jul 2006
Posts: 2
![]() | xeno439. I tried your zip approach and it worked perfectly. Dan I intend to give your solution a try as well, but I have to investigate what a .htaccess is. Thanks to the both of you for your commets. -Stephen Willard |
| |