RE: [PHP] Content-length
| From: | Jason Cox | Date: | Wed, 27 Sep 2000 22:47:16 +0000 |
| Subject: | RE: [PHP] Content-length | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17811@lists.php.net to get a copy of this message | ||
People on this list always say that engines won't index dynamically
generated pages but I haven't found that to be the case, atleast with the
major search engines. I've never had problems getting my pages indexed.
Jason
-----Original Message-----
From: Shane Wegner [mailto:shane@cm.nu]
Sent: Wednesday, September 27, 2000 3:41 PM
To: php-general@lists.php.net
Subject: [PHP] Content-length
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
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net