note 36300 added to function.fdf-create

From: Date: Sat, 04 Oct 2003 04:03:14 +0000
Subject: note 36300 added to function.fdf-create
Groups: php.notes 
Request: Send a blank email to php-notes+get-57793@lists.php.net to get a copy of this message
<?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); ?> This works for IE 5.5+ It will populate the fields and open the resulting pdf for you, without having to create an fdf file and adding the open script to the pdf... ---- Manual Page -- http://www.php.net/manual/en/function.fdf-create.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36300 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36300&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36300&report=yes Search Tool -- http://master.php.net/manage/user-notes.php

« previous php.notes (#57793) next »