ID: 34811
User updated by: kc at netspirit dot ch
Reported By: kc at netspirit dot ch
-Status: Feedback
+Status: Open
Bug Type: FDF related
Operating System: Linux
PHP Version: 4.4.0
New Comment:
code i used:
<?php
$pdformp = fopen("./test.dat", "w");
$fdf = fdf_open_string($HTTP_FDF_DATA);
while ($field = fdf_next_field_name($fdf, $field)) {
echo "$field is of type " . gettype ( fdf_get_value ( $fdf, $field ) )
. " \"" . fdf_get_value ( $fdf, $field ) . "\" ";
fwrite($pdformp, "$field=" . fdf_get_value ( $fdf, $field ) . "\n");
}
fdf_close($fdf);
fclose($pdformp);
?>
Previous Comments:
------------------------------------------------------------------------
[2005-10-10 15:50:56] [EMAIL PROTECTED]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2005-10-10 15:45:00] kc at netspirit dot ch
Description:
------------
Problem getting value of PDF-Multiline-Fields if the value is loger
than 256 chars.
found "ASInt32 nr, size = 256;" in "PHP_FUNCTION(fdf_get_value)" in
"ext/fdf/fdf.c"
Reproduce code:
---------------
Reprodiction:
- go to: http://www.anyform.ch/test/132.pdf
- fill in the big field
- click on "Ausgabe-Optionen"
Expected result:
----------------
strText32 is of type string "hdsfj ....... sdfhjsd"
Actual result:
--------------
strText32 is of type boolean ""
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34811&edit=1