Results 1 to 4 of 4

Thread: generate PDFs

  1. #1
    Join Date
    Sep 2004

    generate PDFs

    Hi, Im trying to generate PDFs with PHP on the fly using the pdf_new() function, right now Im getting this error:

    Fatal error: Call to undefined function pdf_new() in

    As far as I understand a PDF external module must be installed, but since Im running php on a windows platform I tought a pre-built PDF library was bundled with the distribution,(I have the php_pdf.dll file in my ext folder) and all I had to do to activate it, was to uncomment this line: extension=php_pdf.dll on the php.ini file and reinitiate apache.

    So I did all that, and still getting the same Fatal error. Could someone tell me what could be the problem? tks

  2. #2
    Join Date
    Nov 2005
    i have a shortcut for u,

    why don't u install WAMP server, it bundles and does everything for you(mysql,apache,phpmyadmin,php) latest version of all, even you can install new module actice and deactivate, why not makes the work easier and faster..


    if you don't want to use that then just try to retart apache after updating your extension list.


    لبنان يا بلد صغير بالقلب كبير

  3. #3
    Join Date
    Sep 2004
    I'm actually already running it on WAMP5..

  4. #4
    Join Date
    Feb 2005
    You may want to look at this
    http://fpdf.org its a very good open source PDF lib, I have recently comleted a big project using it.

    There is alot on online help as well

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center