including php via a html template

From: Chris (cchong_at_cisunix.unh.edu)
Date: 06/24/04


Date: 24 Jun 2004 08:48:36 -0700

I currently load my page with an html template. The old sidebar was an
html file and everything worked fine. I recently wrote a php script
for a new sidebar. I included this line in my template:

.
.
.
 <TMPL_INCLUDE NAME="sidebar.php">
.
.
.

This loads the code in php script on the sidebar, not what its
intended to load. Is there a way to run this php script from that
inlcude statement?

Chris



Relevant Pages

  • Re: High Scores
    ... If you want to view High scores it returns Could Not load scores ... here is the PHP script ... Edit the game Flash file to point to this file on your server ... >> And the PHP script is here ...
    (alt.php)
  • Re: limiting include scope?
    ... why does this need to involve loading and running every PHP script ... the currently viewed one have any output or affect any session variables in any way? ... surely it's far more efficient to have your main script just load (or ... Erik Ekedahl wrote: ...
    (alt.php)
  • Re: Sorting images based on dimensions into folders.
    ... Load it and retrieve the dimensions used. ... I did start on a php script for the job, ... Since you got some 11.000 plus posts at msdos.bat ... Remove "z" to email personal messages) ...
    (microsoft.public.scripting.wsh)
  • PHP script communicating with C/C++ program
    ... Hi, I wasn't sure which forum this post belongs to, so I've posted it ... - So I thought what I need to do is load all this data into memory, ... - Write a C/C++ program that is constantly running that is dedicated ... operation on that data and return the results to the PHP script. ...
    (comp.unix.programmer)
  • Re: Inline frames, die, die, die (aka please help!)
    ... The only time saving would be that you load a header, footer and sidebar once, however every content ... JavaScript/DHTML and framesets are both support in all currently used graphical browsers. ...
    (microsoft.public.frontpage.client)