▲ Up
  Kolseth [dot] net : the old homeplace

Journal: My Musings

 

It's the domino effect, I tell you!

Installing the HbG CMS (gotta find a nicer name for it-- How about "Handy blogging Gizmo"?) on this site has caused me to rework, re-jigger, re-whatever, just about every line of code. (Ah! it's called refactoring code!

I've made it leaner, meaner and less-crashable. I've added some nice CMS tweaks to the Back Room to make it more pleasant (but you need Safari to see them). After I get it finalized (I [more...]

Automagically adds Authors to an approved list of commenters; if you have access to the site, you have the ability to leave a comment, using your login and email account.

Better security: can't call up a post by typing its ID into the URL if you're not logged in

Post Info
Posted Dec 2, 09 by Ric Kolseth Under Geekiness C Permalink 1259814358

A home-rolled php text counter

Here's the code for a self-starting visitor counter for your site: You don't have to do anything; it creates its own counter file, based on the name of the file it's in. An index.php page will create an "indexcount.dat" file, etc.

Yeah this is geeky, and very much coding 101, but hey. I like Php, even though It's not as sexy as Ruby.

(stick this inside php tags)

(open phptag)

//text-file [more...]



as seen here Post Info
Posted Nov 29, 09 by Ric Kolseth Under Geekiness Permalink 1259530275