Re: [PHP] header function query

2010-02-26 Thread Rene Veerman
output the html you want to send afterwards first, then either put a link to another script that outputs the word file, or have an auto-launch ajax routine (i recommend jquery.com for ajax) do it automatically. On Fri, Feb 26, 2010 at 7:49 AM, Nick allan wrote: > Hi all > > The situation is as f

Re: [PHP] header function query

2010-02-26 Thread Richard Quadling
On 26 February 2010 06:49, Nick allan wrote: > Hi all > > The situation is as follows > > I've read some data in from a couple of files into a string variable, made > some changes to it and want to send the contents of the string out to the > browser as a word document. > > My code currently looks

[PHP] header function query

2010-02-25 Thread Nick allan
Hi all The situation is as follows I've read some data in from a couple of files into a string variable, made some changes to it and want to send the contents of the string out to the browser as a word document. My code currently looks like the following header('Content-Type: application/msword