Has anyone else having trouble with the latest IE and PDF Forms (FDF)?

I had a nice application that used to work and is now broken.  I think it
has something to do with the latest "upgrades and cold(I mean hot)fixes" to
IE.  I now get a "download file" alert with the "Open" button grayed out.
It used to just rev up Acrobat and shoot out the form.

If you want to see the problem, you can see it at
http://www.lcounty.com/lchd/record_search/

Thanks in advance, the link and the file that used to work are below.  Maybe
something to do with the Header content?

-------
LINK:

<form action="print_app.php" method="POST" name="cANTHONYSMITH"><input
type="hidden" name="newark_licking" value="N"><input type="hidden"
name="first_name" value="ANTHONY"><input type="hidden" name="last_name"
value="SMITH"><input type="hidden" name="middle_name" value="CURTIS"><input
type="hidden" name="date_of_birth" value="11-08-2000"><input type="hidden"
name="cert_reg" value="cert_card"><input type="image" src="cardicon.gif"
alt="Make an Application for a Certified Card Sized Copy of this
Certificate"></form>

-----

print_app.php:

<?PHP
   $outfdf = fdf_create();
   if ( $date_of_death != "" ) {
                fdf_set_value($outfdf, "date_of_death", "$date_of_death",
0);
        $bd_flag = "b";  //create a flag birth/death for checkbox later
   }
   elseif ( $date_of_birth != "" ) {
                fdf_set_value($outfdf, "date_of_birth", "$date_of_birth",
0);
        $bd_flag = "d";  //create a flag birth/death for checkbox later
   }
   else { die ( "This form cannot be generated" ); }
   if ( $bd_flag == "d" ) {
                if ( $cert_reg == "regular" ) {
                fdf_set_value($outfdf, "reg_birth", "Yes", 0);
        }
        elseif( $cert_reg == "cert_card" ) {
                fdf_set_value($outfdf, "cert_birth_card", "Yes", 0);
        }
        else { fdf_set_value($outfdf, "cert_birth", "Yes", 0); }
   }
   else {
                if ( $cert_reg == "regular" ) {
                  fdf_set_value($outfdf, "reg_death", "Yes", 0);
        }
        else { fdf_set_value($outfdf, "cert_death", "Yes", 0); }
   }
   fdf_set_value($outfdf, "last_name", "$last_name", 0);
   fdf_set_value($outfdf, "first_name", "$first_name", 0);
   fdf_set_value($outfdf, "middle_name", "$middle_name", 0);
   
   if ($newark_licking == "L" ) {
        
fdf_set_file($outfdf,"http://www.lcounty.com/lchd/record_search/VR_app.pdf";)
; 
   }
   
   else {
        
fdf_set_file($outfdf,"http://www.lcounty.com/lchd/record_search/CityVR_app.p
df"); 
   }

   fdf_save($outfdf, "d://InetPub//wwwroot//lchd//record_search//out.fdf"); 
   fdf_close($outfdf); 
   Header("Content-type: application/vnd.fdf");
   $fp = fopen("d://InetPub//wwwroot//lchd//record_search//out.fdf", "r"); 
   fpassthru($fp); 
   unlink("out.fdf"); 
?>



Thanks in advance, John


---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to