Here is an easy way to get the header Content-Lenght.
<?
ob_start();
?>
Put HTML tags.
<?
$size=ob_get_length();
header("Content-Length: $size");
ob_end_flush();
?>
|
|
| |||||||||||||||
| Copyright © 2001-2005 The PHP Group All rights reserved. |
This unofficial mirror is operated at:
The Server Pages Last updated: Thu May 19 17:35:34 2005 CDT |