I want to allow a user visiting my site to be able to submit data through a form. When that data is submitted, I need either a Word Doc or PDF file to be generated from the values on the form. The generated form will be a resume that the user can download to his/her computer. I am brand new to PHP and clueless as to how to do this. Can someone point me in the right direction?

Thank you,
William

    Well, there are PDF libraries in PHP that you can use to create a PDF; and there's a class called "phprtf" which will create Rich Text Format documents which Word will read.

    There's also the PEAR extension for OpenDocument. Not sure if Word will read it (it should) but it's better than nothing.

    HERE is a good presentation by Rasmus Lerdorf (spelling?) about PDF creation and editing in PHP. Hope it helps.

      Write a Reply...