xiphirx Posted July 26, 2008 Share Posted July 26, 2008 How do I disable this? I tried header('Transfer-Encoding: none'); but the header ended up like "Transfer-encoding: none, chunked" IS there a way to remove chunked or make one page http 1.0 and the others 1.1? Link to comment https://forums.phpfreaks.com/topic/116777-transfer-encoding-chunked/ Share on other sites More sharing options...
xiphirx Posted July 27, 2008 Author Share Posted July 27, 2008 anyone? Link to comment https://forums.phpfreaks.com/topic/116777-transfer-encoding-chunked/#findComment-600658 Share on other sites More sharing options...
xiphirx Posted July 27, 2008 Author Share Posted July 27, 2008 bump You guys have to be kidding me... Link to comment https://forums.phpfreaks.com/topic/116777-transfer-encoding-chunked/#findComment-601010 Share on other sites More sharing options...
unkwntech Posted July 27, 2008 Share Posted July 27, 2008 I'm not gonna' do all the havy lifting for you but a quick google for "php header('Transfer-Encoding:" returned some promising results. http://www.google.com/search?num=100&hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=JvB&q=header(%27Transfer-Encoding%3A+php&btnG=Search Link to comment https://forums.phpfreaks.com/topic/116777-transfer-encoding-chunked/#findComment-601017 Share on other sites More sharing options...
xiphirx Posted July 27, 2008 Author Share Posted July 27, 2008 Those results did not help in any way also, I have been searching on Google for the past 3 days. Link to comment https://forums.phpfreaks.com/topic/116777-transfer-encoding-chunked/#findComment-601024 Share on other sites More sharing options...
xiphirx Posted July 27, 2008 Author Share Posted July 27, 2008 Figured it out by myself. I had to declare the content-length header. like <?PHP $file = $_SERVER['DOCUMENT_ROOT'] . "where your page is"; header('Content-Length: '. filesize($file)); ?> Before the page doesn't know how big the page is, so it transfers in chunks. Now it knows through the Content-Length header and doesn't need to chunk. I guess this is solved now Link to comment https://forums.phpfreaks.com/topic/116777-transfer-encoding-chunked/#findComment-601047 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.