part of me wants to break down barriers, set people free and make the world a better place
a bigger part of me wants to sit on the sofa, drink tea and play through old Nintendo games


Home (latest post and selection from archives)

Archives (by month and category)

Feed (RSS)


I rant about current events here.
I discuss the problems of religion here.
I write about personal stuff . . . elsewhere . . .
This is just a blog about my everyday life (see the Introductory post for details).

Recent comments

Hopefully this message will find... read all
24.01.2012 by lee hardy, 10:55pm
They were great times despite... read all
06.11.2010 by Gav, 8:18pm
P.S. Can Gav play... read all
06.11.2010 by Eric, 7:17pm


Me (home)
Religion is bullshit
The Guardian
Bloggerheads (temp)
Pub philosopher
Insignificant thoughts
Just a girl in the world
A slice of cherry pie
The Sharpener
Green house by the sea
Stupid evil bastard
Stairway to hell
A nice cup of tea and a sit down
Ministry of truth
Jesus and Mo
spEak You're bRanes

Comments by
Blogkomm - pop up free comments without a database

Rest by me.

27/08/09 : Tim's tip of the day (#2)

If you hand-code everything, including a blog, you will probably use loads of php-includes to avoid having to rewrite the same bits of code again and again (and to avoid having to re-write practically everything if you want to make any global changes). I would advise anyone doing this to use the variable $_SERVER["DOCUMENT_ROOT"] rather than the actual server path. This will save you the bother of having to change the code on every single page if you move servers, which would be seriously fucking annoying.

I hope you find this advice useful.

Posted by Tim at 09:58 [ permalink ]
Categories: Blogging, webstuff, programming
Comments [ 0 ]


Previous post |  Home |  Archive index  ]