I’m sure you’ve seen those images that display a changing value in them, something that you have to read and then type into a field so that you verify that you’re human (the assumption being that a machine couldn’t read the image to extract the text). They’re everywhere.
Do you need one? That’s a question I can’t answer for you. But I can tell you how to create the image. I am working on another bit to tell you how to actually use the image for verification, but since I can’t quite get it working myself, I’m going to leave that part out. This just shows you how to create the image itself.
Continue reading “Verification Image with PHP”
Prior to its integration into Movable Type, the MT-Search module allowed the ability to toggle between full-word and partial-word searches. For instance, if you searched on full words for out, you would get out in the results. But not outdoors, outliner or even outrageous. Unfortunately, that functionality isn’t currently available in Movable Type. This describes how to add it back.
Continue reading “Movable Type Full Word Search”
I’m sure everyone else already knows this stuff, but since I use my blog for reference when I don’t feel like trying to look things up, I’m going to do another piece on SQL. Specifically, another piece on SQL subselects.
Continue reading “More AS400 SQL”
During some conversations today, I found out that neither my experimental site nor my regular site was rendering in Mozilla. The culprit is not a new one. I had added some formatting to the page and forgot to close my tags.
Continue reading “Close Your Tags in XHTML”
Yesterday I mentioned the disturbing trend of our society to take what can legally be taken. Common courtesy be damned. I really think people ought to consider the consequences of screwing their neighbor, but hey. That’s up to you.
Continue reading “Licensing Theory”
I often have to change the location of web pages, and try to make sure nothing breaks in the process. Ideally, you won’t see any changes at all, and clients won’t lose any functionality whatsoever.
Continue reading “Infrastructure Upgrades”
I had to use more SQL than usual the other day. It had been a while since I had much call to use SQL in my job for something more than a simple query, however. I needed to use it to update some records in a file as I really just didn’t want to write a program to do the work. SQL should have been much faster, had I a clue what I needed to do. Eventually, I struggled my way through it and it was much faster – assuming you didn’t count the time spent on the learning curve to get to where I could actually use it!
Continue reading “AS400 SQL”
Okay, so I’m a moron. While it was an entertaining exercise, yesterday’s bit about using PHP to block IP addresses probably wasn’t completely necessary. Yes, that’s right – Movable Type has IP banning built right in. So I just add the IP address to the list, and the only functionality that changes is that the user cannot leave a comment, nor can they send a trackback. Geez…
Continue reading “Moron IP Banning”
Three times in the last week I received comment spam. If you happened across it while reading one of my entries, I apologize for not getting to it quickly enough. All traces of those comments should be gone, but if you notice more, please let me know about it. Ads for penis enlargement simply aren’t wanted here.
Continue reading “Combating Comment Spam”
I came across a post by someone who found something I wrote to be useful. That’s cool. I’m glad someone is reading.
One thing that this post reminded me of, that I didn’t mention previously, is the MIME type of the document being served. In the case of HTML, the longstanding tradition has been to serve the document as text/html. This is what we’ve always done, and this is what most people continue to do now.
Continue reading “Serving Content”