Solved

PHP - php_cpdf.dll Issue

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MVC - procedural PHP 10 39
Undefined Variable: loop_limit, Undefined Variable: number 3 18
PHP Mail error 3 28
Wordpress Only run code if on a certain page 11 23
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.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

828 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