Build pdf file?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rick

    Build pdf file?

    Hello all.

    My brother would like to create a website that high school math
    teachers could use. They would come to the web site and say "I'd like
    to have a worksheet on two-variable algebra." Then the web site would
    generate a pdf file for them. The information would be stored in a
    database. MySql or something similar.

    Is Php an appropriate vehicle for this? Has someone already done
    something similar? Is there a "wiki" for Php?

    My brother is a high school math teacher (naturally). I am a
    professional programmer, but I have not done much with web pages, and
    I have never used Php. Usually, I use Tcl and C.

    Any ideas are appreciated. Here's how my brother expressed his
    problem:

    . . . I betcha there's a way to write an ASP script that would pull
    question text from a question database into an MSWord file, instruct
    Word to print the file to PDF, and then download it to the user. I bet
    MS products are scriptable. Hmmmmm. . . .

    Regards,

    Rick
  • Taliesson Wang

    #2
    Re: Build pdf file?

    check out php ref document, there is a section about
    (pdf.http://cn2.php.net/manual/en/ref.pdf.php)
    or visit:http://sourceforge.net/projects/pdf-php/ .
    [color=blue]
    >
    > . . . I betcha there's a way to write an ASP script that would pull
    > question text from a question database into an MSWord file, instruct
    > Word to print the file to PDF, and then download it to the user. I bet
    > MS products are scriptable. Hmmmmm. . . .
    >
    > Regards,
    >
    > Rick[/color]


    Comment

    • Pat Scott

      #3
      Re: Build pdf file?

      Visit http://www.fpdf.org. They have elegant and easy-to-use pdf creation
      routines written in php and are free!


      "Rick" <rhedin@uiuc.ed u> wrote in message
      news:f4e56830.0 311031905.7fc67 8f5@posting.goo gle.com...[color=blue]
      > Hello all.
      >
      > My brother would like to create a website that high school math
      > teachers could use. They would come to the web site and say "I'd like
      > to have a worksheet on two-variable algebra." Then the web site would
      > generate a pdf file for them. The information would be stored in a
      > database. MySql or something similar.
      >
      > Is Php an appropriate vehicle for this? Has someone already done
      > something similar? Is there a "wiki" for Php?
      >
      > My brother is a high school math teacher (naturally). I am a
      > professional programmer, but I have not done much with web pages, and
      > I have never used Php. Usually, I use Tcl and C.
      >
      > Any ideas are appreciated. Here's how my brother expressed his
      > problem:
      >
      > . . . I betcha there's a way to write an ASP script that would pull
      > question text from a question database into an MSWord file, instruct
      > Word to print the file to PDF, and then download it to the user. I bet
      > MS products are scriptable. Hmmmmm. . . .
      >
      > Regards,
      >
      > Rick[/color]


      Comment

      • R. Rajesh Jeba Anbiah

        #4
        Re: Build pdf file?

        rhedin@uiuc.edu (Rick) wrote in message news:<f4e56830. 0311031905.7fc6 78f5@posting.go ogle.com>...[color=blue]
        > Hello all.[/color]
        [color=blue]
        >Is there a "wiki" for Php?[/color]

        PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.


        http://www.php.net/<function name> to get details about the given
        function. Also has many usernotes that are much helpful.

        eg. php.net/strlen
        [color=blue]
        > . . . I betcha there's a way to write an ASP script that would pull
        > question text from a question database into an MSWord file, instruct
        > Word to print the file to PDF,[/color]

        Oops! You can directly & simply create PDF from PHP if you use
        FPDF lib (http://fpdf.org/ )

        ---
        "Learn from yesterday, live for today, hope for tomorrow. The
        important thing is to not stop questioning."---Albert Einstein
        Email: rrjanbiah-at-Y!com

        Comment

        Working...