Convert php file to pdf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mzkpk
    New Member
    • Jul 2007
    • 6

    Convert php file to pdf

    Hi .. i m new on this forum
    anyone can help me to convert php file to pdf file i try my best but have no result. plz anyone can tell me and if you post an example this will be great.Thanx
  • ronnil
    Recognized Expert New Member
    • Jun 2007
    • 134

    #2
    hi mzkpk

    Welcome to TSDN

    What exactly do you mean by converting php to pdf?

    My guess is that you have some data you want outputted as pdf, correct?
    In which case, http://www.php.net/manual/en/ref.pdf.php might be a good place to start :)

    Comment

    • mzkpk
      New Member
      • Jul 2007
      • 6

      #3
      Originally posted by ronnil
      hi mzkpk

      Welcome to TSDN

      What exactly do you mean by converting php to pdf?

      My guess is that you have some data you want outputted as pdf, correct?
      In which case, http://www.php.net/manual/en/ref.pdf.php might be a good place to start :)
      Actually i have a php file which has text boxes bropdown boxes and textarea, now the task is that i the all fields are filled by user and then the form will be converted into pdf file. Plz can you tell me how this will be done or you can give me any sample which convert php file into pdf.
      if you have any question yet plz ask without any hesitation..
      Thanx to reply me Thanx alot

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by mzkpk
        Actually i have a php file which has text boxes bropdown boxes and textarea, now the task is that i the all fields are filled by user and then the form will be converted into pdf file. Plz can you tell me how this will be done or you can give me any sample which convert php file into pdf.
        if you have any question yet plz ask without any hesitation..
        Thanx to reply me Thanx alot
        I suggest you look at the link he's given and also google fpdf package for PHP. It is unlikely that someone will give you all the code but those links really give a lot of stuff to get started with.

        Comment

        • kovik
          Recognized Expert Top Contributor
          • Jun 2007
          • 1044

          #5
          PDF conversion is no simple task, even with the tools to do so. Adobe didn't develop an editor for the format for everyone else to start making it for free, you know.

          Look on SourceForge.

          Comment

          Working...