Re: Support for PDF Forms ready, but....

From: Date: Mon, 23 Nov 1998 18:58:50 +0000
Subject: Re: Support for PDF Forms ready, but....
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-2565@lists.php.net to get a copy of this message
> Uwe Steinmann wrote: > > > > 1. Problem > > PHP3 doesn't recognize the content type, so I made it aware of it. > > > > 2. Problem > > The fdf format cannot be processed by PHP3. Making HTTP_POST_VARS > > from it doesn't work, so I introduced a new variable name > > HTTP_POST_DATA which contains the unprocessed post data. > > What MIME type is it using? I guess adding a variable like HTTP_POST_DATA The MIME type is application/vnd.fdf. > would be correct if it's not application/x-www-form-urlencoded. The other > alternative would be to make PHP "parse" the application-specific data like it > would parse the normal POST data and make a variable like HTTP_FDF_DATA. I thought about that, but I guess the FDF format results in rather complicated data structures. > HTTP_POST_DATA can be useful anyway, I have at least one application where it > would have made my life easier. My only worry is memory use for huge file > uploads and such. I will make HTTP_FDF_DATA only available if FDF support is compiled in and the MIME type is application/vnd.fdf. I'll commit my changes in the next days. > php3_minit_xml, /* extension-wide startup function */ > php3_mshutdown_xml, /* extension-wide shutdown function */ Thanks, these two we do the job. Uwe -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2565) next »