Content-length
| From: | Shane Wegner | Date: | Wed, 27 Sep 2000 21:41:18 +0000 |
| Subject: | Content-length | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17794@lists.php.net to get a copy of this message | ||
Hi,
It seems that many search engines out there won't index
dynamicly generated pages for some reason. The only way I
can guess it would know is the lack of a Content-length
HTTP header. My question is, is there a way to send the
Content-length header with php4? Say php caches the output
until it's done. That way it knows how long the document
will be and is able to output that header.
The only thing I could come up with was to have the output
go to a file, have the end of the script read that file and
do it that way but there must be something a little more
efficient.
Cheers,
Shane
--
Shane Wegner: shane@cm.nu
http://www.cm.nu/~shane/
PGP: 1024D/FFE3035D
A0ED DAC4 77EC D674 5487
5B5C 4F89 9A4E FFE3 035D