|
Posted by Treefrog on 05/08/06 13:06
Erwin Moller wrote:
> Nancy wrote:
>
> > Entropy search is a site search enginge provided by my web server. The
> > provider claims it should be indexing php, but it is not without us
> > creating a shadow file. Our php pages are htmls with php includes.
>
> Hi,
>
> Just curious: How can a html page contain a PHP-include?
> AFAIK: A html-page is returned by the webserver as-is, and a 'php-include'
> doesn't make sense to me in a html-page. :-/
>
> And what is a shadow-file in this context?
>
> I am
> > trying to figure out a code that would alert the engine to include
> > these pages. I hope this makes sense.
>
> I still don't get it sorry.
> I must be thick as a brick. (c) Jethro Tull
You could configure Apache (or whatever) to associate .htm files with
PHP, thus every page on the site would get parsed. You could then, add
a simple <? include('entropy.php'); ?> at the top of all the pages...
I'm not sure what the OP is trying to do, but I'm nearly certain
there's an easier way ;o)
[Back to original message]
|