Re: PHP/HTML/FP question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Thomas A. Rowe (tarowe_at_mvps.org)
Date: 07/28/04


Date: Wed, 28 Jul 2004 15:30:47 -0400

Chris,

That great, but unless the user has access to IIS MMC directly on the server that will be hosting
the site to set this, a host may or may not be willing to make that change, plus the host must also
have PHP installed.

-- 
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, 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
"chris leeds" <chris@nedp.net> wrote in message news:Ox1OUfNdEHA.2752@TK2MSFTNGP12.phx.gbl...
> OK, here (IMHO) is the best way to do something like call php functions into
> a heavily "FrontPage" web.  That is; a web with lots of FrontPage stuff like
> fp includes, navigation, etc.
> the trick is to simply not tell FrontPage the pages are php!
>
> you can set the server (just the subweb where you want this action) to
> process .htm or .htm or any other page past the PHP engine!  You can do
> exactly what you want with PHP, while retaining the good things FrontPage
> will do with themes etc.
>
> I wouldn't think it'd be good to do the trick on the root web of the whole
> server but what could it hurt if the pages in the subweb would've been php
> anyway.
>
> here's how:
>
> Internet Services Manager, right click on the Website that you'd like to
> change, select Properties, then Home Directory tab, then "Configuration"
> button on bottom right hand side. and just add .htm, .html so they're
> referencing the PHP app like on mine it's C:\PHP\php.exe
>
> here's the result: http://demo.contentseed.com/sample I'm going to do the
> same thing to http://demo.contentseed.com/sample2 since it's even more heavy
> on the fp stuff.  I want to test form behavior etc.
>
> HTH
>
> --
> Chris Leeds,
> Microsoft MVP FrontPage
>
> The email address on this posting is a "black hole".  I got tired of all the
> spam.
> Please feel free to contact me here:
> http://nedp.net/contact/
> --
>
>
> "Crash Gordon®" <NOVIAGRAwebmaster@siriussystems.com> wrote in message
> news:uTv9F41cEHA.2664@TK2MSFTNGP09.phx.gbl...
> oh yeah. the php script works, just not the fp includes.
>
> Is there another method of includes on php page? I'm a real noob on php.
>
> "Steve Easton" <admin@95isalive.com> wrote in message
> news:OFCRah1cEHA.3728@TK2MSFTNGP09.phx.gbl...
> | Are you working on a php enabled server??
> |
> | --
> | Steve Easton
> | Microsoft MVP FrontPage
> | 95isalive
> | This site is best viewed............
> | .......................with a computer
> |
> | "Crash Gordon®" <NOVIAGRAwebmaster@siriussystems.com> wrote in message
> | news:%23Kbj9UycEHA.2352@TK2MSFTNGP09.phx.gbl...
> | They're FP Component includes ie: Insert/WebComponent/IncludeContent/Page
> stuff.
> |
> | They'll work in Preview In Browser only if the page is named .htm and
> disappear if page has .php
> | extension.
> |
> |
> |
> | "MD Websunlimited" <none@none.com> wrote in message
> news:eDQBIPycEHA.384@TK2MSFTNGP10.phx.gbl...
> | | Hi Crash,
> | |
> | | What type of includes, server SSI or FP Include components? The latter
> should work as they are
> | design time and the former will only
> | | work if the page extension is .stm. PHP, which I don't recall has it's
> own include directive that
> | can be used to replace server SSI.
> | |
> | |
> | | --
> | | Mike -- FrontPage MVP '97-'02
> | | http://www.websunlimited.com
> | | FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible
> | |
> | | "Crash Gordon®" <NOVIAGRAwebmaster@siriussystems.com> wrote in message
> | news:uf4f3KycEHA.3620@TK2MSFTNGP10.phx.gbl...
> | | Howdya all..
> | |
> | | I have a page created in FP02 a regular html page was created and exists
> in the root folder. It
> | has included content in top header
> | | and left & right table columns as well (nav stuff).
> | |
> | | Page works fine.
> | |
> | | Then added php script into center table.
> | |
> | | Saved page as xxx.php
> | |
> | | Works fine, php works and the basic design of the page is there..main
> table, table heads, colors,
> | css all fine.
> | |
> | | But...the includes are gone, anything in include doesnt appear.
> | |
> | | Made copy of page. Renamed the copy as htm again...everything there
> (except of course the php
> | won't work as htm)
> | |
> | | ? - Does php not like includes? I don't know much about php so I thought
> I'd ask here.
> | |
> | | If this is the case I can just redesign the page without the includes
> (no biggie), *but* if the
> | includes *should* work I will
> | | concentrate on fixing prob.
> | |
> | | tnx,
> | |
> | | Rob
> | |
> | | --
> | | Non pensare che non ci siano coccodrilli perché
> | | l'acqua è calma
> | | From: "Crash Gordon"
> | | email: NOVIAGRAPLEASEwebmaster@siriussystems.com
> | |
> | |
> | |
> |
> |
>
>


Relevant Pages

  • Re: PHP Instalation problems. Browser doesnt know what to do
    ... This is loaded and run as a local server (for class ... PHP 5.2.0 from php-5.2.0-win32-installer.msi ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)
  • Re: PHP Instalation problems. Browser doesnt know what to do
    ... This is loaded and run as a local server (for class ... PHP 5.2.0 from php-5.2.0-win32-installer.msi ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)
  • Re: php?
    ... Also does this mean i can run php on the subsites while not affecting the ... When you use PHP with FrontPage 2003, you create the overall Web page design ... If you do not administer your own Web server, ... Disable features that require the FrontPage Server Extensions ...
    (microsoft.public.windows.server.sbs)
  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... Apache as the global web server user and thus needs world write ...
    (alt.php)
  • mysqli error?
    ... I'm just setting up my php enviroment and I typed in a simple script ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)