Hi. Does anyone know how to tell the browser that the data is to be opened in MS Excel? In ASP I just write Response.ContentType = "application/vnd.ms-excel", but I need to do it from a php script.
It's just a bog-standard http header:
header("Content-type: application/vnd.ms-excel");