Posted by Warmbells on 11/19/05 01:57
Lars Eighner wrote:
> In our last episode,
> <437e5dd9$0$347$da0feed9@news.zen.co.uk>,
> the lovely and talented Warmbells
> broadcast on alt.php:
>
>
>>Hi,
>
>
>>I have a couple of includes on each page on our sitesuch as
>
>
>><!--#include virtual="siteincludes/bottom_menu.htm"-->
>
>
>>and <!--#config timefmt="%e %B, %Y"-->
>><!--#echo var="LAST_MODIFIED"-->
>
>
>>they work great on all the pages except a couple I have had to use a php
>>suffix on
>
>
>>What is the correct way to use the above with a php page?
>
>
> Adjust your server configuration so it knows it has to parse
> php pages.
>
The php page parses okay it has some snippets on it such as
<?php
$function = 'count';
$id = 'Catsaver.zip';
include('./downloads.php');
?>
and
<?php
$function = 'count';
$id = 'Horsesaver.zip';
include('./downloads.php');
?>
and they cause the zip files to be downloaded.
I want to be able to include an html menu and a last updated date
[Back to original message]
|