1 2 3 4
<?php header('content-type: application/pdf'); exec('/usr/local/bin/mutool convert -F pdf -o /tmp/cv.pdf cv.html'); passthru('/bin/cat /tmp/cv.pdf');