LordGarfield
IS-IT--Management
Hi
In asp you can put 2 lines infront of the <head> tag
so that if you load the page it will prompt you to save a word .doc file wich is generated by the asp code.
the 2 lines are
<% Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition", "attachment;filename=navprob.doc"
%>
How do I do the same in PHP?
tank you.
In asp you can put 2 lines infront of the <head> tag
so that if you load the page it will prompt you to save a word .doc file wich is generated by the asp code.
the 2 lines are
<% Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition", "attachment;filename=navprob.doc"
%>
How do I do the same in PHP?
tank you.