Quantcast
Channel: php – i want to be free
Viewing all articles
Browse latest Browse all 14

Problems with download in InternetExplorer

$
0
0

Don’t forget to include this simple header, otherwise Internet Explorer users over SSL will get a weird error message that the download cannot be done:

header('Pragma: public');

It’s better to make a filename nice and simple, avoid slashes in it and don’t quote it — again in respect to IE users.

The best way to go is just copy the list of headers to implement the download of a fil from PHP documentation page.


Viewing all articles
Browse latest Browse all 14

Trending Articles