Archive - General RSS Feed

Thematic

Switched to the Thematic WordPress theme. Added a couple touches, but definitely not finished. Want to change up the link (visited, hover) colors, etc. I’m more of a blue than red, I think.

Pandora keeps losing me

Pandora is awesome, but it keeps drifting way-away from the styles it starts with when I set up a station. I try to “thumb-up” good songs, but it still seems to drift (far) after awhile. Am I doing something wrong? What gives?

Back to work.

Working on it

Been so busy! Had a great trip to TX to spend a weekend with some of the greatest people. Now spending some time trying to get this “blog”, “web presence”, whatever looking decent.

Server move, ugly site

Gave up GoDaddy for DreamHost. (that’s a referral link).  During the move, a lot of files may have been misplaced or even lost, links to certain pages may be dead, etc. I also haven’t updated the theme yet, so it’s back to WordPress default for a bit.

Signed Cookies in PHP

I saw the Signed Cookies in Django Middleware and looked around to see if something like that had been done in PHP. I didn’t see anything immediately – perhaps some of the frameworks have it buried in their docs somewhere?

So I put together a small class that handles cookie signing, and verification, for PHP.

It’s nothing very serious, and could probably be vastly improved – but I like going the route of “absolutely minimal”, so that you could quickly grab the concepts and put them to practice in whatever code-base you’re working on.

UPDATE:
In the time since writing this, I seem to have misplaced the specific portion of code that I had laying around. In the mean time, I highly suggest checking out this answer about signed cookies at StackOverflow, which should cover all of the basics to get you started, should you choose to take that route.

Page 4 of 21« First...«23456»1020...Last »