|
|
 |
RE: FN-FORUM: Does Googlebot include? charset="Windows-1250"
date posted 30th January 2006 09:44
> I've received conflicting advice about this so here goes. Can the
> Googlebot, or any search engine spider for that matter read and follow
PHP
> or any other type of includes?
>
> What I'm getting at is this. If I "include" a page header that
contains the
> Meta tags, will the spiders "see" it and treat is as part of the page?
What you do have to be careful of is putting PHP code in files with non
executable extensions like .inc (unless of course you configure .inc
files to be executable) in a web servable directory. If you then allow
directory traversal or the spider "guesses" the .inc filename the web
server will serve the file as plain text - not good if it then indexes
your passwords!
Solution:
a) put all sensitive data outside of the document root
b) put all code in .php files
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.23/243 - Release Date:
27/01/2006
|
 |
|