You are here: Re: Include Pages and PHP « PHP Programming Language « IT news, forums, messages
Re: Include Pages and PHP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация