php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1034 PDF_close says incorrect parameter count when using correct parameters..
Submitted: 1999-01-06 12:32 UTC Modified: 1999-01-12 01:47 UTC
From: michael at irc dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Latest CVS (06/01/1999) OS: Linux 2.0.36 - Red Hat 5.1
Private report: No CVE-ID: None
 [1999-01-06 12:32 UTC] michael at irc dot net
<?
echo "bleh";
$fd = fopen("/tmp/hello.pdf", "w");
$info = PDF_get_info();
$pdffd = pdf_open($fd, $info);
PDF_begin_page($pdffd, 595.0, 842.0);
PDF_set_text_pos($pdffd, 50, 700);
PDF_show($pdffd, "Hello $REMOTE_HOST!\n");
PDF_end_page($pdffd);
PDF_close($pdffd);
?>

./configure --with-mysql=/usr --with-gd --with-zlib --with-apache=../apache_1.3.3 --enable-track-vars --with-pdflib

Warning: Wrong parameter count for pdf_close() in /home/httpd/html/pdf2.php3 on line 10

It worked with 3.0.6 though...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-12 01:47 UTC] steinm
fixed with pdf_close() bug fix
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 05:01:31 2024 UTC