RE: [PHP] Is this a good method to include ??
| From: | Mark Peoples | Date: | Wed, 11 Oct 2000 05:06:11 +0000 |
| Subject: | RE: [PHP] Is this a good method to include ?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19505@lists.php.net to get a copy of this message | ||
virtual(html-page-to-be-included.html);
-----Original Message-----
From: Tongdee [mailto:tong_tep@hotmail.com]
Sent: Tuesday, October 10, 2000 10:02 PM
To: php-general@lists.php.net
Subject: [PHP] Is this a good method to include ??
Hi there
to day I used SSI to include my template html that usually used for
every page.
but it so slow. I think php is better for this ,is it ?
I don't know how to include it ,but only method that I can do is use
file() function to
read from my template and echo() each line for out put
What do you think about my method ??
I can't use include() or require() because if I do that
I have to put all my html template in variable .
Thanks
Tongdee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net