You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Frank Biertz <Bi...@MH-Hannover.de> on 2003/07/30 16:22:21 UTC

[users@httpd] Need help, Content-type: application/vnd.fdf\n\n

OK,

I am using apache1.3.27 with solaris.
The fdf-toolkit is installed and I am
using perl scripts for creating a
fdf-object . Following the perlscript
writes to STDOUT with the Content-Type
application/vnd.fdf.
(print "Content-type: application/vnd.fdf\n\n";).
But the webbrowser doesn' show anything,
although the fdf-object has content.
It seems that apache www-server must
be inserting the Content-type line anyhow.

I hope I will find help .

Best regards

Frank


perl code:


    #create a new FDF object
    $fdf = new Acrobat::FDF("$in{'formname'}.fdf");
$fdf->SetFile("http://172.20.107.64:88/test/dataentry/forms/$in{'formname'}.pdf");

 $| = 1; # autoflush, so that the HTTP header is emitted immediately

 print "Content-type: application/vnd.fdf\n\n";

  $fdf->Save("-");





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org