lazy programing

No Comments »

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 :P )
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 tag, example google analitics and stuff

you work one for the footer

cheers
-The Necenzurat

Ze Google PR update

No Comments »

Gata azi, de cateva zile a inceput sa se intample Matt zice ca pe 25 iulie pana cand se termina o sa vedem schimbari, damm

w2.ro – 1 :(
blogu la fel

cheers
-The Necenzurat