Ivan Rego
|
| Posted: 11/28/2002, 1:58 PM |
|
Using PHP and Template : on Event 'Before Show'
I type the following code ( i picked this up from a tip )
$header_filename="";
$footer_filename="";
Header("Content-type:application/vnd.ms-excel");
The resulting file is in html format ..
What do I need to do in order to get an Excel formated file ?
thanks
Ivan Rego
|
|
|
 |
Daniel
|
| Posted: 11/29/2002, 3:47 PM |
|
I don't know PHP...this is what I use for ASP...maybe it can give you an idea to make a couple of tries:
Response.ContentType = "application/msword"
Response.AddHeader "content-disposition","attachment;filename=directory.doc"
Daniel
|
|
|
 |
|