I have a php header and footer that I want to add into my design, which are required to tie in with existing external pages. These files reside outside the acatalog folder.
Firstly is it possible to include these?
If so can it be done this way?
<actinic:block php="true">
include_once '../includes/header.php';
include_once '../incudes/footer.php';
// my php code here
</actinic:block>
Or will it only work this way.. combine them in a file.. and place the new file in the site1 folder
<actinic:block php="true">
include_once 'myphpcode.php';
// my php code here
</actinic:block>
Sorry for all the questions, but wanted to be armed with the correct info before I start.
Firstly is it possible to include these?
If so can it be done this way?
<actinic:block php="true">
include_once '../includes/header.php';
include_once '../incudes/footer.php';
// my php code here
</actinic:block>
Or will it only work this way.. combine them in a file.. and place the new file in the site1 folder
<actinic:block php="true">
include_once 'myphpcode.php';
// my php code here
</actinic:block>
Sorry for all the questions, but wanted to be armed with the correct info before I start.
Comment