diff options
author | Uwe Steinmann <steinm@php.net> | 2000-07-05 08:57:37 +0000 |
---|---|---|
committer | Uwe Steinmann <steinm@php.net> | 2000-07-05 08:57:37 +0000 |
commit | 68f35d55392ec31b486bfcdb4ecaaa75c40ae63d (patch) | |
tree | b6e0db15216a8eeffeedfaeee6be3b9c21af1244 /main/SAPI.c | |
parent | ec62b2d1cd4ae4a0cc79d94aaa8677dcb750d255 (diff) | |
download | php-git-68f35d55392ec31b486bfcdb4ecaaa75c40ae63d.tar.gz |
- fixed handling of fdf data (application/vnd.fdf)
Diffstat (limited to 'main/SAPI.c')
-rw-r--r-- | main/SAPI.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 5b372f2a50..aaceb4266c 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -28,6 +28,9 @@ #endif #include "rfc1867.h" +#if HAVE_FDFLIB +#include "fdfdata.h" +#endif #ifdef PHP_WIN32 #define STRCASECMP stricmp @@ -35,12 +38,14 @@ #define STRCASECMP strcasecmp #endif +#include "php_content_types.h" SAPI_POST_READER_FUNC(sapi_read_standard_form_data); +SAPI_POST_READER_FUNC(php_default_post_reader); static sapi_post_entry supported_post_entries[] = { #if HAVE_FDFLIB - { "application/vnd.fdf", sizeof("application/vnd.fdf")-1, sapi_read_standard_form_data }, + { "application/vnd.fdf", sizeof("application/vnd.fdf")-1, php_default_post_reader, fdf_post_handler}, #endif { NULL, 0, NULL } }; |