Re: how to generate ms-word files

From: Date: Thu, 14 Nov 2002 08:22:00 +0000
Subject: Re: how to generate ms-word files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124433@lists.php.net to get a copy of this message
You might want to do a search on google and see if someone has written a class on creating word documents. I am almost certain that someone has created on. This will save you much time... On Thu, 2002-11-14 at 12:34, michael wrote: > hello > > I'm trying to generate ms-word files with php. Until now, I can create a > document and even insert page-breaks. Is there any tutorials going further > (boxes, mergedocuments etc...)? > > this is my code so far: > > <?php > header ('Content-type: application/msword '); > header ('Content-Description: PHP Generated Data'); > header ('Content-Disposition: inline; filename="test.doc"'); > ?> > <html> > <head> > <title></title> > <meta http-equiv="Content-Type" content="text/html; > charset=iso-8859-1"> > </head> > > <body> > Text before PagBreak > <br clear=all style='page-break-before:always'> > Text after PagBreak</body> > </html> > > Thank you for any help. > michael > -- .: B i g D o g :.

« previous php.general (#124433) next »