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

Posted by NC on 11/30/07 04:30

On Nov 29, 12:00 pm, sa...@freeweekends.co.uk wrote:
>
> 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???

As a short-term fix, replace this:

<!--webbot bot="Include" U-Include="menu-categories.htm" TAG="BODY" --
>

with this:

<?php readfile('menu-categories.htm'); ?>

As a long-term strategy, do not use Frontpage past HTML template
development; once you have a HTML / CSS / JavaScript template,
continue to develop with something better suited for PHP.

Cheers,
NC

 

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

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