ok let`s take the next situation
you have 2000+ html pages or another type like php
and you have to include statistics in every one
kind of hard, yuck
let`s be lazy and include all of in in under 5 lines of code (the comment`s does not count
)
first make a .htaccess file
and write
#run php in all files ext ex: .html .anything
AddType application/x-httpd-php .html .htm
#this is for a header
php_value auto_prepend_file path_to_file.php
#this is for a footer
php_value auto_append_file path_to_file.php
and if you don`t wan`t a folder to be automatic included just do
php_value auto_prepend_file none
php_value auto_append_file none
so to proove i`m not a evil person (my ass, i am one)
here is a small header example
this file put`s some text right before the
you work one for the footer
cheers
-The Necenzurat


