Doc #60678 [Opn->Nab]: Fatal error: Call to undefined function fdf_create()
| From: | vrana@php.net | Date: | Sat, 18 May 2013 00:13:55 +0000 |
| Subject: | Doc #60678 [Opn->Nab]: Fatal error: Call to undefined function fdf_create() | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9849@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60678&edit=1
ID: 60678
Updated by: vrana@php.net
Reported by: charanraj dot provab at gmail dot com
Summary: Fatal error: Call to undefined function fdf_create()
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: fpdf
Operating System: linux ubuntu
PHP Version: 5.4.0RC5
Block user comment: N
Private report: N
New Comment:
http://www.php.net/manual/en/fdf.installation.php
Previous Comments:
------------------------------------------------------------------------
[2012-01-07 06:43:37] charanraj dot provab at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.fdf-create#refsect1-function.fdf-
create-examples
---
PHP Scripts can't find the FDF Library functions when using the ISAPI modules.
Test script:
---------------
<?php
$outfdf = fdf_create();
$volume = "test";
fdf_set_value($outfdf, "volume", $volume, 0);
fdf_set_file($outfdf, "http://localhost/webapps/volume.pdf");
Header("Content-type: application/vnd.fdf");
fdf_save($outfdf);
fdf_close($outfdf);
?>
Expected result:
----------------
A PDF file pops up with the text fields populated with the values contained
within the FDF file.
Actual result:
--------------
Fatal error: Call to undefined function fdf_create() in
/opt/lampp/htdocs/sample/workingwithfdffunctions/createfdffile.php on line 20
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60678&edit=1