Skip to content
Advertisement

Tag: fpdi

How to use FPDI SetSourceFile with a URL that redirects?

I’ve got a PDF file on my server, and I want to use it as parameter for this function: $fpdi->setSourceFile() The problem is that the link used as a source redirects to another URL and I don’t know the final URL. It seems that setSourceFile needs the real PDF filename. Is there a way to get the final URL, and

Advertisement