Re: Templates & PHP files




Here's a link that explains how to make PHP function on an htm/ html page:
http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf

However, if you're going to use FrontPage "run-time" components such as "hit
counter", "form handler", etc. I recommend that you only do htm OR html and
leave the unmodified extension in reserve for things like FrontPage forms
and custom confirmation pages.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
"nikkimac" <nikkimac.1qfo9k@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:nikkimac.1qfo9k@xxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> I am using Frontpage 2003 and DWT files as templates. The templates are
> working great with my html files. However, as my site has got larger I
> have added many PHP files to update my databases.
>
> Problem is, whenever I make a change to a template, it only updates the
> html files and the php files remain the same, without the template
> changes. The only way I can update them to the new template is to open
> each php file and save it. This then uses the new template correctly.
> But a nightmare whenever I make any changes.
>
> Is there something within the options or elsewhere that i can change to
> make sure that php files are also changed when the template they are
> attached to is changed or is this a glitch within Frontpage?
>
> Thanks,
>
> Nikki
>
>
>
> --
> nikkimac
> ------------------------------------------------------------------------
> Posted via http://www.forum4designers.com
> ------------------------------------------------------------------------
> View this thread: http://www.forum4designers.com/message263852.html
>


.



Relevant Pages

  • Re: How do we get there from here?
    ... > then sub the whole of that generated markup into the template? ... layed out on the fly, a simple IMG tag, or even an entire HTML document. ... PHP scripting provides 10 times the features of both of these ... idea as tokens can eliminate a huge amount of maintance, ...
    (comp.databases.pick)
  • Re: nested conditional that can identify parent page?
    ... and specify the files in the array including ... try to make as little php and html mix as possible, have a template ...
    (alt.php)
  • Re: A better XSS trap (Feedback wanted)
    ... better to always be forced to choose the right filter depending on the ... It makes template code shorter, ... and easier to understand for non-programmers (doing the HTML design). ... I personally stick to PHP only, because the I gain of a template engine ...
    (comp.lang.php)
  • Re: Redirecting between PHP Pages
    ... Display login form ... >>other php files, you should never need a redirect your page except to ... pass it on to smarty which then displays it as html for me. ...
    (comp.lang.php)
  • Re: PHP5 IIS Setup
    ... If there were any html tags, ... Incidentally I'm using Apache 2, ... You haven't added a type association so Apache knows to use PHP to process ... it not processing PHP files. ...
    (alt.php)