I have gotten my code to work up until now. I have a set of code that when it gets called it generates a pdf file and is supposed to store it in a given file. I am using the Output('filename.pdf', 'F') and I don't see any files being stored. I have confirmed the file does download effectively using the 'I' and the 'D'. When I try the F I don't get any errors and it appears all has worked but when i check the folder it's empty. Could this be a permissions thing? Another question is if I give a path weather it is a directory or a path for a file is it supposed to work? Assuming this gets accessed by people in under the same network.. Below is my code:
define("TEMP_PDF_DIR", "C:\\Temp\\Waiver\\");
$pdf is created form class....
$pdfFile = TEMP_PDF_DIR . 'Waiver_'. $name . '.pdf';
$pdf addPage()..
...
$pdf->Output( $pdfFile, 'F');
again all works when I download it instantly or open it to then download it.