PHP/HTML/FP question

  • Thread starter Thread starter =?iso-8859-1?Q?Crash_Gordon=AE?=
  • Start date Start date
?

=?iso-8859-1?Q?Crash_Gordon=AE?=

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

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



| 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
|
| 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: (e-mail address removed)
|
|
|
 
FP processes these includes at design time. They're not true Server-side
includes, instead they're just a substitution that makes it easier for a lot
of ordinary people to create include files because, in a servr-side include,
you can't have body and html tags as they would get included in the parent
page as well. The FP include bot just grabs everything inside the body tag
thus eliminating this problem. The problem is, FP 2002 doesn't know a thing
about php and so a lot of the bots, even though theoretically they should
work since many of them are simple substittion, like the include bot, FP
tends to have a policy that if it doesn't understand the file extension to
not operate on it.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

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.



| 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
|
| 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: (e-mail address removed)
|
|
|
 
Are you working on a php enabled server??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

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.



| 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
|
| 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: (e-mail address removed)
|
|
|
 
dang.



| FP processes these includes at design time. They're not true Server-side
| includes, instead they're just a substitution that makes it easier for a lot
| of ordinary people to create include files because, in a servr-side include,
| you can't have body and html tags as they would get included in the parent
| page as well. The FP include bot just grabs everything inside the body tag
| thus eliminating this problem. The problem is, FP 2002 doesn't know a thing
| about php and so a lot of the bots, even though theoretically they should
| work since many of them are simple substittion, like the include bot, FP
| tends to have a policy that if it doesn't understand the file extension to
| not operate on it.
|
| Hope this helps,
| Mark Fitzpatrick
| Microsoft MVP - FrontPage
|
| | 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.
|
|
|
| | | 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
| |
| | | 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: (e-mail address removed)
| |
| |
| |
|
|
 
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.

| Are you working on a php enabled server??
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
| | 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.
|
|
|
| | 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
| |
| | | 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: (e-mail address removed)
| |
| |
| |
|
|
 
http://www.phpbuilder.com/manual/function.require.php
http://www.phpbuilder.com/manual/function.include.php

Bob Lehmann

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.

| Are you working on a php enabled server??
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
| | 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.
|
|
|
| | 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
| |
| | | 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: (e-mail address removed)
| |
| |
| |
|
|
 
Thanks! Good stuff there.

R.


| http://www.phpbuilder.com/manual/function.require.php
| http://www.phpbuilder.com/manual/function.include.php
|
| Bob Lehmann
|
| | 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.
|
| | | Are you working on a php enabled server??
| |
| | --
| | Steve Easton
| | Microsoft MVP FrontPage
| | 95isalive
| | This site is best viewed............
| | .......................with a computer
| |
| | | | 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.
| |
| |
| |
| | | | 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
| | |
| | | | | 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: (e-mail address removed)
| | |
| | |
| | |
| |
| |
|
|
 
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/
--


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.

| Are you working on a php enabled server??
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
| | 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.
|
|
|
| | 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
| |
| | | 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: (e-mail address removed)
| |
| |
| |
|
|
 
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)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
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


| 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/
| --
|
|
| | 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.
|
| | | Are you working on a php enabled server??
| |
| | --
| | Steve Easton
| | Microsoft MVP FrontPage
| | 95isalive
| | This site is best viewed............
| | .......................with a computer
| |
| | | | 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.
| |
| |
| |
| | | | 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
| | |
| | | | | 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: (e-mail address removed)
| | |
| | |
| | |
| |
| |
|
|
 
Yes, I guess it's an opportunity for me to sell a little hosting. ;-)

It really is a nice way to work locally. No php problems and full access to
the fp components (all I've tried so far). still, I wish it were .asp. ;-)

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


Thomas A. Rowe said:
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
 
Thanks,
....I think. ;-)

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


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


| 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/
| --
|
|
| | 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.
|
| | | Are you working on a php enabled server??
| |
| | --
| | Steve Easton
| | Microsoft MVP FrontPage
| | 95isalive
| | This site is best viewed............
| | .......................with a computer
| |
| | | | 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.
| |
| |
| |
| | | | 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
| | |
| | | | | 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: (e-mail address removed)
| | |
| | |
| | |
| |
| |
|
|
 
There are ASP based Textarea Edit components available. However I would never trust let a client
having that much formatting access, as I have seen client select 36 Point font size, insert images
that are way too large, etc.

However your application looks good, good luck!

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Those were 5 stars...not a censored explictive.


| Thanks,
| ...I think. ;-)
|
| --
| 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/
| --
|
|
| | 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
|
|
| | | 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/
| | --
| |
| |
| | | | 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.
| |
| | | | | Are you working on a php enabled server??
| | |
| | | --
| | | Steve Easton
| | | Microsoft MVP FrontPage
| | | 95isalive
| | | This site is best viewed............
| | | .......................with a computer
| | |
| | | | | | 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.
| | |
| | |
| | |
| | | | | | 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
| | | |
| | | | | | | 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: (e-mail address removed)
| | | |
| | | |
| | | |
| | |
| | |
| |
| |
|
|
 
thank you. I found a real nice .asp editor that's got a way cheaper license
than the php one im using. I'm actually thinking of making an asp version.

thanks for the compliment, oh, the variety of tools available in the editor
is at maximum. there's a config to adjust for such things.

I'll see if I could find the .asp textarea link if you're interested.

--
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/
 
I got it now. I'm wondering what I could mean. most of the ones I'm
familiar with require only four. ;-)

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


Those were 5 stars...not a censored explictive.


| Thanks,
| ...I think. ;-)
|
| --
| 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/
| --
|
|
| | 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
|
|
| | | 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/
| | --
| |
| |
| | | | 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.
| |
| | | | | Are you working on a php enabled server??
| | |
| | | --
| | | Steve Easton
| | | Microsoft MVP FrontPage
| | | 95isalive
| | | This site is best viewed............
| | | .......................with a computer
| | |
| | | | | | 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.
| | |
| | |
| | |
| | | | | | 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
| | | |
message
| | | | | | | 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: (e-mail address removed)
| | | |
| | | |
| | | |
| | |
| | |
| |
| |
|
|
 
Yes, let me know, I did come across a few.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
I think they've got a "developer" license for like $50. If they don't, it's
the wrong link. I've looked at my share of em too and they kind of blend
together. I do remember this as particularly good.
seems most of them lack a spell checker and the sop is for the developer to
make their own provision.

--
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/
 
Back
Top