Posted by Jerry Stuckle on 09/11/06 00:44
PDannyD wrote:
> On Sunday 10 September 2006 23:35, Dave Kelly [daveekelly@earthlink.net]
> wrote in message <4r0Ng.5983$v%4.159@newsread1.news.pas.earthlink.net>
>
>>Given this html code page;
>>======begin
>><html>
>><body>
>><!--#include file="outing.1.shtml"-->
>
>
>>I would like the contents of 'outing.1.shtml' to be displayed hence
>>the <!--#include file="outing.1.shtml"--> in the HTML code.
>>Since it does not work, I must ask what is the correct to do this?
>
>
> <?php include("outing.1.shtml")?>
>
> You were using the ASP #include.
Actually, this is not the ASP include. It is the SSI include, and is
perfectly valid.
But Apache needs to be told to parse these pages for SSI includes (and
similar statements).
Check alt.apache.configuration and/or alt.html. This has nothing to do
with php.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|