Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] Over Zealous Apache & SSI Includes From: Adam Thompson (athompso <email protected>)
Date: 03/10/99

Why not just use PHP3 directive:

<? include( filename ) ?>

from your main page, or you could do a .htaccess file and set the
"php3_auto_prepend_file" directive in there?

In other words, instead of doing it via SSI, do it through PHP3
functionality. Of course, this won't work if you are actually using
Apache SSI commands other than #include! (Please note, however, that
all the SSI functions can be done in PHP instead.)

-Adam Thompson, MCNE
 <athompso <email protected>>

Karl Pielorz wrote:
> I have a PHP3 script which sets up a standard page etc, which I'd like to
> 'include' from a web-page via an Apache SSI include, e.g.
>
> mypage.html
>
> <!--#include virtual="/php3/setuppage.php3">
> <P>Rest of my page goes here</P>

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>