Edward Peloke wrote:

Thanks Marco,

So I would just create the .rtf file with php, then store it on the server
and attach it to the e-mail?

If most of your document is going to be the same each time, I would create the basic document in MS Word, saving it as an rtf file. Then manually edit it with a text editor (e.g. NotePad) and put in replaceable parameters marked with starting and ending tags (e.g. ##). Then your php code need only parse the file and replace dummy names (e.g. ##name##) with the actual data (e.g. Fred Bloggs).

This is what I do for an application. It is a lot less work than trying to write rtf itself.

Hope this helps
Chris



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to