August, 12, 2004 archives
i’m getting too old for this
blo.gs appears to be under some sort of strange indirect attack. it’s being hammered by various robots trying to index search results. so there’s requests from the feedster bot, the technorati bot, and all sorts of bots i’ve never even heard of. oh, and the the yahoo!, google, and msn bots have all decided to get in on the action.
it is extremely strange. perhaps it is supposed to be some sort of clever distributed denial of service?
break-even
last month, the revenue from google adsense ads was almost exactly equal to my monthly hosting bill.
this response to a news article about redeveloping an area in the miami area is spot on. (via hit & run.)
generating a last-modified time from php
while the getlastmod()
function can tell you when the main file was last modified, it would be cool if php kept track of the most recent last modification time of all included files, assuming that it is already doing a stat()
on each file as it includes it.
the value may not always be directly applicable (sometimes you are pulling in other data, or database information), but it would be useful. i guess you would want another function to inject possible timestamps into the mix.
the alternative is to iterate over the results of get_included_files() and stat()
all of them.
or i guess you could just live with getlastmod()
, and ignore the fact that it isn’t accurate when you do something like change the header that you’re including via some other mechanism.