Hello,
I have the following script that works a treat by exporting data into an xls file. We need the web page to be more secure so it is now an https:// and not http://
Since changeing to https:// I get an error "Internet Explorer cannot download workshop_register.xls from www.nagcbritain.org.uk" All that has changed is that is is now https:// which I guess is cuasing the issue. I have tried my best to fix this but I am unable to?
Could anyone possibly help as I am sure other people must have had the same problem?
Here goes the code -------------------------- I have tried adding the url to the filename in the code below but that doesn't help?
<?php
header("Content-type: application/xls");
header("Content-Disposition: attachment; filename=workshop_register.xls");
header("Pragma: no-cache");
header("Expires: 0");
?>