Doc #60678 [NEW]: Fatal error: Call to undefined function fdf_create()

From: Date: Sat, 07 Jan 2012 06:43:37 +0000
Subject: Doc #60678 [NEW]: Fatal error: Call to undefined function fdf_create()
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7735@lists.php.net to get a copy of this message
From: Operating system: linux ubuntu PHP version: 5.4.0RC5 Package: fpdf Bug Type: Documentation Problem Bug description:Fatal error: Call to undefined function fdf_create() 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 bug report at https://bugs.php.net/bug.php?id=60678&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60678&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60678&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60678&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60678&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60678&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60678&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60678&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60678&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60678&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60678&r=support Expected behavior: https://bugs.php.net/fix.php?id=60678&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60678&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60678&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60678&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60678&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60678&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60678&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60678&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60678&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60678&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60678&r=mysqlcfg

« previous php.doc.bugs (#7735) next »