including headr and footer

#1
Hi

Does any body know how I can configure my host so that it recoginizes

<?

include "header.inc"
?>

for putting header and footer

I know I can do this
<!--#include file="header.inc" --> through htaccess

but I need to use the first code
 

ppc

Moderator
#2
I dont think your reconfiguring your host to do that.

Looks like that code you have is php. In that case it needs to look more like:

<?php include("header.inc"); ?>

and the filename that has this code must be filename.php
 
Top