note 105432 added to ref.fdf

From: Date: Wed, 17 Aug 2011 16:01:19 +0000
Subject: note 105432 added to ref.fdf
Groups: php.notes 
Request: Send a blank email to php-notes+get-182548@lists.php.net to get a copy of this message
If you can't get the php_fdf.dll working in PHP 5.3 on Windows, one possible work around is to use the activeX version from the "FDF Toolkit for Windows" from the Adobe website. Here is part of a class I built for one of my projects. <?php class FDF{ public $NormalAP = 0; public $RolloverAP = 1; public $DownAP = 2; protected $fdf; public function __construct(){ $com = new COM('FdfApp.FdfApp'); $this->fdf = $com->FDFCreate(); } public function setFile($fileName){ $this->fdf->FDFSetFile(str_replace(' ', '%20', $fileName)); } public function setValue($name, $value){ $this->fdf->FDFSetValue($name, $value, true); } public function setAP($field, $whichFace, $fileName, $pageNumber){ $this->fdf->FDFSetAP($field, $whichFace, $fileName, $pageNumber); } public function savetoFile($saveFileName){ $this->fdf->FDFSavetoFile($saveFileName); } public function close(){ $this->fdf->FDFclose(); } } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 98.189.178.183 ---- Manual Page -- http://www.php.net/manual/en/ref.fdf.php Edit -- https://master.php.net/note/edit/105432 Del: integrated -- https://master.php.net/note/delete/105432/integrated Del: useless -- https://master.php.net/note/delete/105432/useless Del: bad code -- https://master.php.net/note/delete/105432/bad+code Del: spam -- https://master.php.net/note/delete/105432/spam Del: non-english -- https://master.php.net/note/delete/105432/non-english Del: in docs -- https://master.php.net/note/delete/105432/in+docs Del: other reasons-- https://master.php.net/note/delete/105432 Reject -- https://master.php.net/note/reject/105432 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182548) next »