Solved

PHP - php_cpdf.dll Issue

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

732 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