#22603 [Fbk->NoF]: Can't set content-length

From: Date: Mon, 24 Mar 2003 10:16:56 +0000
Subject: #22603 [Fbk->NoF]: Can't set content-length
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36256@lists.php.net to get a copy of this message
 ID:               22603
 Updated by:       sniper@php.net
 Reported By:      mcmunn at mcmunn dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Apache2 related
 Operating System: FreeBSD 4.7
 PHP Version:      4.3.0
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-03-19 17:22:05] sniper@php.net

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

You were asked to try the snapshot, not 4.3.1.


------------------------------------------------------------------------

[2003-03-19 17:02:51] mcmunn at mcmunn dot com

I upgraded to 4.3.1, still having the same problem

------------------------------------------------------------------------

[2003-03-15 18:47:25] sniper@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-03-10 10:43:49] sniper@php.net

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



------------------------------------------------------------------------

[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



Thread (6 messages)

« previous php.bugs (#36256) next »