Re: Include Pages and PHP



sales@xxxxxxxxxxxxxxxxxx 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)


(Created by FrontPage)

First mistake.

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.


Expecting FrontPage to understand PHP - second mistake.

Any ideas???

Thanks

Alec


1. Learn basic HTML and get rid of your garbage generator.
2. Use PHP includes to include the files.

FrontPage include statements are in .htm(l) files and processed by the FrontPage extensions. PHP statements are in .php files and are processed by the PHP interpreter.

Ne'er the twain shall meet.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: OSCommerce. PHP and FrontPage
    ... IMHO the thing FrontPage resists most about PHP is simply the extension ... which is little reason not to use php in conjunction with FrontPage ... > to me that a FP upgrade will handle php with a little ... >> AND Blow Your Clients Minds! ...
    (microsoft.public.frontpage.client)
  • Re: Frontpage Changing Code
    ... I've been messing with trying to get some php functionality into FrontPage ... You can actually have the server process the htm/html past the ... >>sure the you have FP set to never modify your HTML code ...
    (microsoft.public.frontpage.client)
  • Re: PHP/HTML/FP question
    ... having that much formatting access, as I have seen client select 36 Point font size, insert images ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... No php problems and full access to ... >>> Chris Leeds, ...
    (microsoft.public.frontpage.client)
  • Re: How do I skin mambo with my frontpage templates?
    ... open the distro folder with FrontPage: ... If you have trouble getting a wysiwyg environment with the PHP files that ... > "Chris Leeds, MVP-FrontPage" wrote: ... >> Microsoft MVP-FrontPage ...
    (microsoft.public.frontpage.client)
  • Re: PHP Shafred border
    ... Jack Brewster - Microsoft FrontPage MVP ... the php; I'm using php on that site and one other because I found this ... | cool little app that allows the owner to log-in and change/ update/ edit/ ... | intended to buy a license for the one in question. ...
    (microsoft.public.frontpage.client)