Sunday, January 29, 2012

How to create and save a file as .rtf?

Hey,

I have a problem, I have a layout for an .rtf file, called data.ctp,
in this file I have my rtf code (I justed opened my rtf in editor and
copied out the code...).
And now I want to create a .rtf file in my controller and replace some
vars from my template and then I want to save this, that the user can
download this file and open it with Word.
Can anyone help me please?

Thanks

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: