export to excell

admin

Administrator
Staff member
I would like to export output (a phpgenerated table based on a mysqlquery).

In my search I stumbled upon someone with the magnificant idea to put

header ("content-type: application/vnd.ms-excel");
header("Content-Disposition:filename=exportedfile.xls");}

in the headersection.

This works like a dream... on the server.
Whenever i try to do this on a client, i have to give login and password even when i have full network authorization. I'm using apache under win2K. As most of you may have noticed, I'm a newbie...
 
Back
Top