Open PDF after rendering
Posted: Wed Feb 19, 2025 11:55 pm
I have this code in my index.php
$report->loadFile($t);
$report->render();
$report->exportDocument(StiExportFormat::Pdf);
$report->printHtml();
It export my report to pdf, and the user can click on the upper right of the screen to open it.
Is it possible to create the pdf and then open it without the user having to click to open?
Alan
$report->loadFile($t);
$report->render();
$report->exportDocument(StiExportFormat::Pdf);
$report->printHtml();
It export my report to pdf, and the user can click on the upper right of the screen to open it.
Is it possible to create the pdf and then open it without the user having to click to open?
Alan