Would agree with doing it server side.
There are not really any concerns with includes, except if you have it in your htdocs someone could in theory just load your footer in the browser if they new the filename and location, but they can't really do anything with it.
If it's PHP you're running:
<?php
include("location/yourfile
?>
You will have to tell the server to run HTML through PHP as well.
Add the following to .htaccess
AddType application/x-httpd-php .html
Main Topics
Browse All Topics





by: SteggsPosted on 2007-07-12 at 13:54:54ID: 19476109
Hello,
Yes includes are great... I wouldn't use javascript include as people can turn javascript off. I would do it server side e.g. shtml or php
You can easily find tutorials on the web
Steggs