Solved

PHP - php_cpdf.dll Issue

Posted on 2007-04-09
2
511 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now