Re: Is it a good way to include html template file by file() function

From: Date: Tue, 10 Oct 2000 12:37:21 +0000
Subject: Re: Is it a good way to include html template file by file() function
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-3470@lists.php.net to get a copy of this message
If I do that ,I have to put it in a variable of php syntax and then echo it to display. I can't use include() or require() because it is so many line in template. kkhui@21cn.com wrote in message ... >Hi > >You can use require() or include() function to include a file. > >> 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 ?? >> >> Thanks >> Tongdee >> >> >> >> >> -- >> PHP Database Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net >> For additional commands, e-mail: php-db-help@lists.php.net >> To contact the list administrators, e-mail: php-list-admin@lists.php.net >> >---------------------------------------------- >»¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ >http://www.21cn.com >Thank you for using 21cn.com Email system > > >-- >PHP Database Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net >For additional commands, e-mail: php-db-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#3470) next »