Hi,
I have a pdf file on disk that i need to send to a user when they make a request to a php script, what is the best way of doing this?
Thanks
Hi,
I have a pdf file on disk that i need to send to a user when they make a request to a php script, what is the best way of doing this?
Thanks
Is the file going to be put on the server? If not, it isn't possible to send the file.
Best way is to send an email after a request with the pdf as an attachement.
You can use dompdf if you want them to be able to save/view it. I would reccomend using the 0.6.0 beta version if you do. I had a lot of issues with the stable version. But it is simple to use.