I'm having a problem generating an excel-file to the client-browser.
I've made a nice report with mysql and php, along with company-logo etc...
now I want to use it with:
Code: Select all
header("Content-Type: application/vnd.ms-excel");
header ("Content-Disposition:inline; filename=test.xls");Than I've tried it with:
Code: Select all
header("Content-Type: application/vnd.ms-excel");
header ("Content-Disposition:attachment; filename=test.xls");What am I doing wrong? I guess this is a security-issue, but how do I make this work???
please please help me...