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.
[ Previous post | Home | Archive index ]
24.01.2012 by lee hardy, 10:55pm