Is there a way to ask the user for the name and location to save the generated file?
$rtf->sendRtf('filename');
Did you mean as download? nalberg gave you the answer already.
Did you mean how to save the file on the server? Then that's the way to do it:
$file = '/path/to/the/document.rtf' $rtf->save($file);
Log in to post a comment.
Is there a way to ask the user for the name and location to save the generated file?
$rtf->sendRtf('filename');
Did you mean as download? nalberg gave you the answer already.
Did you mean how to save the file on the server?
Then that's the way to do it:
$file = '/path/to/the/document.rtf'
$rtf->save($file);