Google Answers Logo
View Question
 
Q: "Include" files ( Answered 4 out of 5 stars,   0 Comments )
Question  
Subject: "Include" files
Category: Computers > Programming
Asked by: wanting2know-ga
List Price: $4.00
Posted: 11 Feb 2004 15:25 PST
Expires: 12 Mar 2004 15:25 PST
Question ID: 305915
Does using "include" files in PHP or ASP affect search engine
performance and/or results? Specifically, we're concerned that the
links that we embedded in the "include" files will not be recognized
by Web crawlers.
Answer  
Subject: Re: "Include" files
Answered By: webadept-ga on 11 Feb 2004 15:34 PST
Rated:4 out of 5 stars
 
Hi, 

PHP and ASP pages are rendered into basic HTML before they leave the
server. All include files, and parsing is added and rendered before
that time. Any browser, or bot, or search bot, will only see the
finished page, and never know that an include file was used to create
that page.

PHP especially, takes in the include files, and creates on big program
from these, before it even starts on the rendering part. The only
reason the include file is used, is so that the programmer can work
easier, instead of working with a single file that is 10,000 lines of
code long. Without them, websites of any real complexity would be much
more expensive, simple in the time it takes to maintain them.

ASP files are compiled programs, which render in the same fashion. The
only true difference is that one is compiled before the call, and one
is compiled after. They would have even less of a problem in this
manner than PHP, which has no problem at all.

PHP Include function
http://www.php.net/function.include

webadept-ga
wanting2know-ga rated this answer:4 out of 5 stars
The answer was very helpful, but the writeup had a couple of typos
that made it a bit hard to read.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy