|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-03-10 10:43 UTC] sniper@php.net
[2003-03-15 18:47 UTC] sniper@php.net
[2003-03-19 17:02 UTC] mcmunn at mcmunn dot com
[2003-03-19 17:22 UTC] sniper@php.net
[2003-03-24 04:16 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 05:00:01 2025 UTC |
I can't set the content-length via the header() function. I am setting the content-type and other header fields, this is making me bonkers. Even the most simple sample: <? ob_start(); ?> Put HTML tags. <? $size=ob_get_length(); header("Content-Length: $size"); ob_end_flush(); ?> will fail. I have apache 2.0.43 and PHP 4.3.0 Any help is much appreciated.