I was able to create a pdf file with html2pdf library.
Now What I am trying to do is when I create a pdf file, I want to save it automatically in my server machine.
Is there a way to a pdf file?
I used the following code so that users can view or save their machine
$html2pdf->writeHTML($content, isset($_GET['vuehtml']));
$html2pdf->Output('order.pdf');
while doing so I also want a copy of this pdf file in my sever machine.
Thanks in advance!!
Jacob