undefined function: pdf_new()

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

    undefined function: pdf_new()

    <newbie alert>

    hello, just started with PHP last week, and i tried to create a
    pdf, but i get the error message:

    Fatal error: Call to undefined function: pdf_new()

    the php files starts with:

    <?php
    $pdf = pdf_new();
    pdf_open_file($ pdf);

    can anybody see what's wrong? my server has php version 4.3.2.

    mike


  • CountScubula

    #2
    Re: undefined function: pdf_new()

    Those functions, although are part of PHP, were never compiled in.

    --
    Mike Bradley
    http://www.gzentools.com -- free online php tools
    "michael nieuwenhuizen" <usenet@mikkie. net> wrote in message
    news:1002kai2pn 6d672@corp.supe rnews.com...[color=blue]
    > <newbie alert>
    >
    > hello, just started with PHP last week, and i tried to create a
    > pdf, but i get the error message:
    >
    > Fatal error: Call to undefined function: pdf_new()
    >
    > the php files starts with:
    >
    > <?php
    > $pdf = pdf_new();
    > pdf_open_file($ pdf);
    >
    > can anybody see what's wrong? my server has php version 4.3.2.
    >
    > mike
    >
    >[/color]


    Comment

    • Dan Tripp

      #3
      Re: undefined function: pdf_new()

      CountScubula wrote:
      [color=blue]
      > Those functions, although are part of PHP, were never compiled in.
      >
      > --
      > Mike Bradley
      > http://www.gzentools.com -- free online php tools
      > "michael nieuwenhuizen" <usenet@mikkie. net> wrote in message
      > news:1002kai2pn 6d672@corp.supe rnews.com...
      >[color=green]
      >><newbie alert>
      >>
      >>hello, just started with PHP last week, and i tried to create a
      >>pdf, but i get the error message:
      >>
      >> Fatal error: Call to undefined function: pdf_new()
      >>
      >>the php files starts with:
      >>
      >> <?php
      >> $pdf = pdf_new();
      >> pdf_open_file($ pdf);
      >>
      >>can anybody see what's wrong? my server has php version 4.3.2.
      >>
      >>mike
      >>
      >>[/color]
      >
      >
      >[/color]

      If you want to check which extensions are enabled on the server you're
      using, you can use phpinfo().

      sample:
      =======

      <?php
      phpinfo();
      ?>

      See: http://www.php.net/phpinfo

      http://www.php.net/pdf has info. about not only where to get pdflib, but
      how to install it.

      Regards,

      - Dan

      Comment

      Working...