Hi,
I'm writing an app which allows users to upload XML.
I've written a version that works on my internal PHP server which is running PHP Version 4.0.3pl1 on Windows 2000.
I deliberately set the content-type of the upload to "calendar" so that PHP doesn't parse it and I can use $HTTP_RAW_POST_DATA to get at the data (otherwise the XML gets truncated and stuff).
This all works fine.
I've now uploaded the file to an Apache web server on Linux and I get the error "Unsupported content type: calendar".
So, what's different? What do I need to set (in php.ini?) so that it accepts the content type and just leaves it alone?
Thanks in advance,
Denis