php3-list | 199903
Date: 03/10/99
- Next message: Adam Thompson: "Re: [PHP3] Shopping Carts - :)"
- Previous message: The Hermit Hacker: "RE: [PHP3] Postgresql vs. MySQL"
- In reply to: Karl Pielorz: "[PHP3] Over Zealous Apache & SSI Includes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature
-- 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>
- Next message: Adam Thompson: "Re: [PHP3] Shopping Carts - :)"
- Previous message: The Hermit Hacker: "RE: [PHP3] Postgresql vs. MySQL"
- In reply to: Karl Pielorz: "[PHP3] Over Zealous Apache & SSI Includes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

