h4x3d.com

- h4x3d.com

Archive
Tag "year"

I always laugh at sites that have “old” copyright information on them and I almost forgot to update mine.
No-longer shall I be doing that with thanks to PHP´s little helper in form of the following one-line (I call it) “New Year Update Copyright script” in PHP:

What it does is quite obvious: it outputs the current year, so for instance you could have it say:
(c) 2006 – (php block here)

this would render (c) 2006 – 2008

- hope this helps anyone.
Now as I look at this issue, I wonder if I was smart enough to build that into all my themes. If not, I got some revising to do after I have finished my next exam in January (11th).

Update: bleh I put

in pretty much all my themes, which is stupid I fear – but for now it is noted on my to-do list and will be sorted out with the next wave of updates!

Update: Lorelle put the_time(); too, so I guess I might as well leave it like that.

Read More

Oh, just read this on weblogtoolscollection, here is what I get

technorati blog posts graph wordpress

Read More