php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11926 precompiled php_pdf.dll does not work
Submitted: 2001-07-06 07:25 UTC Modified: 2001-07-07 06:04 UTC
From: rose at b92 dot net Assigned:
Status: Closed Package: PDF related
PHP Version: 4.0.6 OS: windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rose at b92 dot net
New email:
PHP Version: OS:

 

 [2001-07-06 07:25 UTC] rose at b92 dot net
Hi,

The pre-compiled php_pdf.dll included with 4.0.6 is based on PDFlib version 4.0.0 ($Revision: 1.79.2.1 $).

HOWEVER, according to pdflib.com, version 4.0.0 contains a datetime bomb and will not work past 2001-07-01.

Amusingly enough, PDFlib 4.0.0 was used for PHP4.0.6, released only shortly before this dll would cease to function forever...

An attempt to access pdf functions produces the following error: "Fatal error: PDFlib error: Beta expired - retrieve new version from www.pdflib.com in [script] on line [number]".

Since PDFlib 4.0.1 is available since 2001-05-18, perhaps the next release could include a php_pdf.dll based on 4.0.1?

OR, a fix could be made available on the site (please) because my c++ compiler chokes on 4.0.1, and the documentation included is obviously meant for people who are already experienced with compiling their own dlls...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-06 08:32 UTC] rose at b92 dot net
Addendum: set system date to anything before 2001-07-01 and this version of php_pdf.dll will work.  Not a very useful workaround, but...

 [2001-07-07 06:04 UTC] joey@php.net
You can download a fixed version of pdflib.dll from pdflib.com.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC