Reply to Re: Displaying text with include file.

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация