I have <?php ... ?> embeded in my xml document to generate dynamic content.
My browser requires either "Transfer-Encoding: chunked" header or the "Content-Length : <bytes>" header. If I send the "chunked" header, how do I encode my content to the "chunked" format? Or, if I don't use the chunked transfer encoding, how do I tell php or IIS to send the Content-Length header base on the generated document?
TIA.