Thanks Martin - that does work. I was just thinking in ASP terms. But I
am curious as to whether Server Side Includes can work together with
php.
Nope, at least not with Apache = 2.0. Apache 2 will let you have
multi-pass parsing, so your PHP could output SSI, which would then be
parsed.
Hi all,
First post to this list.
I am trying to do the following
***php file***
!--include virtual=/includes/header.html--
?php echo Hello; ?
!--include virtual=/includes/footer.html--
***end php file
In the php file the includes aren't parsed by the server, the
why don't you just do this?
?php
include includes/header.html;
echo Hello;
include includes/footer.html;
?
-Original Message-
From: Richie Chauhan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 6:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Apache Server Side Includes
include includes/header.html;
echo Hello;
include includes/footer.html;
?
-Original Message-
From: Richie Chauhan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 6:40 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Apache Server Side Includes mixed with PHP pages
Hi all
4 matches
Mail list logo