Home > Archive > PHP Language > August 2006 > ssi within an include?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
ssi within an include?
|
|
| Marnok.com 2006-08-14, 7:57 am |
| I have a php file which includes a document.htm file.
(apache is configured to server-parse htm files)
this htm file has a <!--#include .. which works fine when I view the
document.htm on it's own, but not when I <?include... it within the php
document.
The #include showsin the .php's source when I view it in a browser, so it
hasn't been dealt with serverside at all.
Is this possible to do? Can I <!--#include virtual="something"--> inside an
htm file inside a php file?
Or should I go back to drawing board and perhaps make the .htm file which
gets included into a .php file with a <?include instead?
--
http://www.marnok.com - if you liked this post, visit me at home!
========================================
===================
| |
| Marnok.com 2006-08-14, 6:56 pm |
|
"Marnok.com" <wizardharry@pottermarnok.com> wrote in message
news:fbSdnZuNpeGe7H3ZRVnytw@giganews.com...
>I have a php file which includes a document.htm file.
> (apache is configured to server-parse htm files)
>
> this htm file has a <!--#include .. which works fine when I view the
> document.htm on it's own, but not when I <?include... it within the php
> document.
> The #include showsin the .php's source when I view it in a browser, so it
> hasn't been dealt with serverside at all.
>
> Is this possible to do? Can I <!--#include virtual="something"--> inside
> an htm file inside a php file?
>
> Or should I go back to drawing board and perhaps make the .htm file which
> gets included into a .php file with a <?include instead?
>
> --
> http://www.marnok.com - if you liked this post, visit me at home!
> ========================================
===================
>
actually, *slap forehead* ... I can just do <? include....?> in the htm file
instead of a SSI because the top doc is .php
Thanks for looking and sorry if you spent time trying to solve this!
--
http://www.marnok.com - if you liked this post, visit me at home!
========================================
===================
| |
| Peter Boosten 2006-08-14, 6:56 pm |
| Marnok.com <wizardharry@pottermarnok.com> wrote:
>
>
> actually, *slap forehead* ... I can just do <? include....?> in the htm file
make that <?php include.... ?>
Peter
--
http://www.boosten.org
Mail: peter at boosten dot org
|
|
|
|
|