Including page with PHP extension?

  • Thread starter Thread starter jp
  • Start date Start date
J

jp

I've got a page that I'd like to use the "include page" web component,
however, I seem to be unable to include a page with a PHP extension.

Is this possible?

Thanks!

jp
 
Not sure this would solve the issue, but make sure you have configured FP as
a editor for .php files under Tools | Options | Configure Editors.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
And see the FP Addins for PHP at
http://www.microsoft.com/frontpage/downloads/addin/default.asp
--



| Not sure this would solve the issue, but make sure you have configured FP as
| a editor for .php files under Tools | Options | Configure Editors.
|
| --
|
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| WEBMASTER Resources(tm)
|
| FrontPage Resources, Forums, WebCircle,
| MS KB Quick Links, etc.
| ==============================================
| To assist you in getting the best answers for FrontPage support see:
| http://www.net-sites.com/sitebuilder/newsgroups.asp
|
| | > I've got a page that I'd like to use the "include page" web component,
| > however, I seem to be unable to include a page with a PHP extension.
| >
| > Is this possible?
| >
| > Thanks!
| >
| > jp
|
|
 
Frontpage, as all MS products, is not PHP friendly. PHP
is an ennemy. But why do you need a FP webbot? Just use
an easy PHP line :

<? include("page_to_be_included.php"); ?>

and rename your main page with extension .php

If the main file (renamed with .php) is mostly html code,
just open it in Frontpage (right mouse button,
select "open with" and choose "Frontpage").

"Just that easy" as Bart Simpson says ;)

Peter.
 
Back
Top