ID: 22603 Updated by: [EMAIL PROTECTED] Reported By: mcmunn at mcmunn dot com -Status: Open +Status: Feedback -Bug Type: Unknown/Other Function +Bug Type: Apache2 related Operating System: FreeBSD 4.7 PHP Version: 4.3.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-03-08 03:26:25] mcmunn at mcmunn dot com 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22603&edit=1
