Solved

PHP - php_cpdf.dll Issue

Posted on 2007-04-09
2
534 Views
Last Modified: 2013-12-13
I am trying to generate a PDF file based on the output of a form.  In nthe first instance I am trying to get PDFs to generate from PHP.  I have uncommented the extensions php_cpdf.dll & php_pdf.dll but get error messages in the script pointing towards these not being found.  According to php.net at least php_cpdf.dll should be included in the package but I have searched my entire server and cannot find the file.

Server 2003
PHP 4.4.2

I have looked online but do not see much in the way of help with these extensions.

Any help appreciated
0
Comment
Question by:internacionale
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Accepted Solution

by:
hernst42 earned 250 total points
ID: 18874896
cpdf is outdated. From php.net/cpdf

In order to use the ClibPDF functions you need to install the ClibPDF package. It is available for download from » FastIO, but requires that you purchase a license for commercial use. PHP requires that you use cpdflib >= 2. The development of ClibPDF library has been discontinued thus FastIO website would be most probably inaccessible.

From php.net/pdf
PDFlib Lite is available as open source. However, the PDFlib Lite license allows free use only under certain conditions. PDFlib Lite supports a subset of PDFlib's functionality; please see the PDFlib web site for details. The full version of PDFlib is available for download at » http://www.pdflib.com/products/pdflib-family/, but requires that you purchase a license for commercial use.

Did you install those additional libraries?
0
 
LVL 24

Assisted Solution

by:slyong
slyong earned 250 total points
ID: 18874910
If you don't have pdflib installed, you might want to have a look at fpdf (http://www.fpdf.org/) which doesn't require any other library.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question