Re: SSI include
| From: | Andy Hoffman | Date: | Fri, 20 Oct 2000 14:31:25 +0000 |
| Subject: | Re: SSI include | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3414@lists.php.net to get a copy of this message | ||
"CESBRON S." wrote:
> Does anybody know if we can use the SSI directive <!-- #include FILE="xxx"
> --> in PHP ?
Try "include()" :)
Basically, here's how you call it... let's say you're in main.php and you want
to include a common header page/script inside main - let's say header.php,
then wherever you want that included page/script to appear, you simply put:
<?php
include("header.php");
?>
It's that easy!
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com