Hi,
I think this is more complicated. You'll need to create the FDF file manually
pertaining to the format
specifications. You will have to use the data posted from the HTML form, but just
writing them out to the
file won't do the trick. I haven't done this with PHP yet, maybe the fdf functions
provided can help you
somewhat with the format.
Greetings,
Michael.
> Okay, I'm trying to teach myself how to utilize fdf and insert into pdf and
> I have a question for y'all. When using pfd forms to submit to an fdf file,
> the php script uses the variable $HTTP_RAW_POST_DATA as the source to write
> to the fdf file. If I use an HTML form to do the same thing, what variable
> would I use? I tried $HTTP_POST_DATA and it returned an empty variable set
> resulting in an empty fdf file. The code I'm using is as follows:
>
> <?php
> $fdffp = fopen("test.fdf","w");
> fwrite($fdffp, $HTTP_POST_DATA, strlen($HTTP_POST_DATA));
> fclose($fdffp);
> ?>
>
> Sorry for the basic question but I guess we all have to start somewhere!
>
> Cheers,
>
> Dave
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]