|
Posted by Lars Eighner on 11/29/07 20:49
In our last episode,
<ecf187cd-dc32-4c6e-9286-a2e45ae8e292@g30g2000hsb.googlegroups.com>, the
lovely and talented sales@freeweekends.co.uk broadcast on comp.lang.php:
> I have used Include pages for a menu bar within a webpage - See below.
><!--webbot bot="Include" U-Include="menu-categories.htm" TAG="BODY" --
>> (Created by Frontpage)
> It works fine when the page is htm format, but when I use the page in
> php format, all the menus that are an Included link do not show.
> Any ideas???
> Thanks
Why in the world would you think a server would pre-process a page twice?
Use PHP to do the include --- do not expect the server to parse the page
again. You have not supplied enough details to make it possible to say
exactly how this goes wrong in your particular configuration, but your
theory is fundamently flawed and will go wrong, albeit in perhaps slightly
different ways, in any configuration.
--
Lars Eighner <http://larseighner.com/> usenet@larseighner.com
Countdown: 417 days to go.
Navigation:
[Reply to this message]
|