Re: How do you include a php file?

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

From: Bob Lehmann (nospam_at_dontbotherme.zzz)
Date: 08/31/04


Date: Mon, 30 Aug 2004 19:31:05 -0600

Why would anyone develop a web app targeting a specific dev environment?

Bob Lehmann

"chris leeds" <chris@nedp.net> wrote in message
news:u9RTV%23tjEHA.3664@TK2MSFTNGP11.phx.gbl...
> Glad you asked Paul!
> here's the thing (I know because I'm just about done wrapping up about
1,000
> hours worth of work on a php app specifically for FrontPage);
> (the desktop program you're using) really doesn't like anything to do
with
> php. you can set php as a file FrontPage will edit and fp 2002 and up
won't
> / shouldn't mess with the code much but you can forget about things like
> themes (most parts of them), nav bars (FrontPage driven), and virtually
any
> other FrontPage save time component.
>
> The reason I wanted to write my script in php is because of people using
> FrontPage to author against a UNIX server.
>
> so, given that FrontPage doesn't play nice with php and I really needed
php
> for the cross platform capability of my script I decided to really dig in
> and get something worked out:
> the verdict; FrontPage will work fantastically with php and include it's
> shared borders, nav bars, and everything else, you just can't tell
FrontPage
> that the pages are php. look at this: http://demo.contentseed.com/sample
> although these pages have the .htm extension I've had the server admin
> process the .htm and .html pages past the php engine. it may sound
> complicated but it's really not. there's no problem with overburdening
the
> server because the pages would have had to be php anyway.
>
> so in short, my suggestion to you would be to have your server admin make
> the mod to process the .htm pages past the php engine, don't rename it to
> php and in fact, don't use the <? and ?> instead use <script
> language="php"></script> to enclose your php include statement.
>
> 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/
> --
>
>
> "Paull" <no-mail@here.com> wrote in message
> news:ch05lj$q23$1@reader2.nmix.net...
> > I'm using the phpBB forum and would like to include one the the topics
in
> my
> >
> > home page. FP won't let me include a file unless it's an html file. How
do
> I
> > include
> > that php file into my home page?
> >
> > Thanks!
> >
> > --
> > Paull
>
>



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: 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)
  • 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)