I’m trying to figure out the best way to have html headers throughout my site (eg. <meta name=“robots” content=“noindex, nofollow” />, etc) - most pages have php sessions and ‘includes’, etc which means that I cannot have this at the top - where can I put this information so that I don’t get the dreaded - ‘Warning: Cannot modify header information’ ??
Thanks for the response … I have something like this:
index.php
<?php
session_start();
?>
<?php
include 'html_header.php';
include 'functions.php';
?>
<?php
// get left col
require_once 'left_col.html';
?>
<?php
// get right col
require_once 'right_col.html';
?>