This is a test for 20795 and 100445, it makes sure that forms POSTed with a content-type of text/plain actually send data in text/plain

SUCCESS: Content-type is text/plain.

"; } else { echo "

FAIL: Content-type should be text/plain, but was '$content_type'

"; } $data = file_get_contents("php://input"); if($data == "f1=This is field #1 &!@$%\r\n='<>\r\nf2=This is field #2 \"\"") { echo "

SUCCESS

"; } else { echo "

FAILURE: $data

"; } ?>