Problems with download in InternetExplorer

development, php Add comments

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.

Comments are closed.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in