Is somebody know how to show on browser and save on server in the same time a pdf file? I use PHP and PDFLIB to generate the pdf, and in the beginning i do :
PDF_open_file ($p, $DocFile);
Where $DocFile indicate the place on server where i write the pdf. And at the end , when i finished generating the pdf, in order to save the pdf somewhere on the server ,i do :
$b = PDF_close ($p);
$b = PDF_delete ($p);
I can save the file on the server but what i want to do now is to be able to save the pdf on the server and the same time display it on the browser. How can i do that? Im using Pdflib v7 with php v5.