Dean Maunder wrote:

It's because the response encoding is chunked. You can read about

chunks in the RFC documents.
I thought if I sent a Content-Length header, then the results would be
de-chunked?

You may want to try the CURL functions for PHP which can do a POST request and will handle the de-chunking for you.

http://php.net/curl

--
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/

If you find my advice useful, please consider donating to a poor
student! You can choose whatever amount you think my advice was
worth to you. http://tinyurl.com/7oa5s

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

Reply via email to