including headr and footer

Discussion in 'The Lounge' started by cookie, Sep 17, 2007.

  1. cookie

    cookie Alien

    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
     
  2. ppc

    ppc Moderator

    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
     

Share This Page