Re: PHP includes
| From: | tedd | Date: | Mon, 09 Mar 2009 12:58:43 +0000 |
| Subject: | Re: PHP includes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289633@lists.php.net to get a copy of this message | ||
At 1:06 PM -0400 3/8/09, Gary wrote:
I'm working on learning php and have been toying with includes, and I am trying to figure the advantages/disadvantages to using them. I know that using them eliminates the need to "put" the files once altered as with a template, however, is that the only advantage. My particular concerns are with SEO and if the search engines and the bots can read the page if it is made completely on includes? Any and all comments would be appreciated. GaryGary: A demo might help: http://sperling.com/examples/include-demo/ As for SEO, includes neither help nor hurt. Includes deliver code as requested for both bot and human alike. They are completely transparent to whatever/whomever are requesting them. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com