Re: PHP/HTML/FP question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Crash Gordon® (NOVIAGRAwebmaster_at_siriussystems.com)
Date: 07/28/04


Date: Wed, 28 Jul 2004 13:31:36 -0700

YEPPERS !!!

Clever, cool and easy...worked great...it HELPs tremendously that I have a hosting doods willing to let me screw up my site if things go south.

This way also allows me to edit php pages in FP...very cool. This is a big plus for me - because now the regular html design view is just like a regular page even though there is php in the Insert Component thingie.

It also allows me to say; "nanner nanner" to the rules :-)

You get ***** in my book today chris!

/R

"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
| | |
| | |
| | |
| |
| |
|
|


Quantcast