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 :.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php