I just noticed, when I save the pdf in different directory, the File array informations are not correct.
As example I save my pdf to 'images/' and the var name is 'cf_pdf_file' and I output the array
I get following:
The link is incorrect!!!
And as a second problem I noticed I can't attache it to an email with "cf_pdf_file" ... neither with default email-event and GH email-event.
As example I save my pdf to 'images/' and the var name is 'cf_pdf_file' and I output the array
<?php
echo $form->files['cf_pdf_file']['name'] . '<br/>';
echo $form->files['cf_pdf_file']['path'] . '<br/>';
echo $form->files['cf_pdf_file']['size'] . '<br/>';
echo $form->files['cf_pdf_file']['link'] . '<br/>';
?>
I get following:
Wettbewerb_de_20140625151757.pdf
images\Wettbewerb_de_20140625151757.pdf
0
http://dev.mydomain.xx/components/com_chronoforms/pdf/Wettbewerb_de/Wettbewerb_de_20140625151757.pdf
The link is incorrect!!!
And as a second problem I noticed I can't attache it to an email with "cf_pdf_file" ... neither with default email-event and GH email-event.
This topic is locked and no more replies can be posted.