| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2007
Location: Sweden
Posts: 8
|
Downloads
Hi I've made a link for downloading a pdf file in IE 6 the pdf doesn't download and it turns up in the same window. this is the code. <a href="downloads/artikel_dagens%20medicin.pdf">Ladda ner artikeln som pdf. </a> In safari this code is works fine but apperently not on exploerer ( at least no 6). Another problem I have is that en eps.file changes to a postscript file after downloading. Does anyone has an answer to this would be great! Thanks OC |
|
|
|
|
|
#2 (permalink) |
|
hmmm...
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,127
|
eps is postscript, most people won't have a viewer for it. if you want to ensure content gets downloaded rather than opened in the browser you need to set the content-type to application/octet-stream either within your script (php/asp/etc), or on the server (apache/iis/etc) |
|
![]() |