I have the following PHP file:

MOD EDIT: External link removed.

I would like to dynamically convert it to a PDF file and download it to the user's computer.

I'm looking for a full-featured PHP class that would do that for me. Can't really use the php pdf because it is too complex and I have to build the file myself.

Has anyone used anything that has worked AND can provide some assistance on how to set it up.

What I want is a link: CLICK HERE to download a PDF of the file...

That sort of this. When the user click, the PDF downloads. Simple?

Thanks...

    The link has been removed. Do you mind telling us what it was. Was it dynamic? If not why not just turn it into a pdf yourself?

      The post had gotten caught in the spam filter, and I removed the link because I didn't think there was a need.

      If it's static HTML content, then yeah, just turn it into a PDF once and you're done.

      If it's dynamic content, which I expect it is, ... well, I've never worked with creating PDF's, but I'm sure others have. A quick Google search shows that converting HTML into a PDF using PHP isn't unheard of.

        the link is dynamic. I found several libraries, but all seemed pretty hard to work with.

        I do a fair amount of PHP programming, but can't figure out anything I've found. All seem to require complicated libraries.

        Any thoughts?

          Well this class uses other sites to convert html to a pdf. It might be worth looking at or thinking about. You could simply use other sites and make it a force download from the other site.

            Thank you - that class seems to work and supplies me with all the details.

            I knew there had to be a simple solution.

              Write a Reply...