Changing some scripts

I’m junking a bunch of CGI scripts and going to PHP. I’m doing this because it’s much easier to put PHP data in a page, since you just set your variables at the top and then you can call them up anywhere, and because CGI is so… 1999.

I found a cool set of directions for counting the referrers for every post at redemption in a blog. Not only does it us PHP, it stores the info in a MySQL database, another new technology I’m enjoying learning about. Now the referrers list on the right is built by that script, and every post lists the number of times it’s been read (a “read” is a hit on its individual archive).

Pages are loading kinda slowly right now because the script pulls down the HTML of your referrer in order to get the title on the referring page. I’ll try to fix that by having that function done by an external script at some point.

Popularity: 1% [?]

Leave a Reply