Using timestamps to reduce WordPress comment spam

In this post, I’ll explain how to reduce the amount of comment spam your WordPress blog receives by using an unobtrusive ‘handshake’ between the two files necessary for a valid comment submission to take place. I’ve written a few different articles on reducing comment spam by means of a challenge response test that the [...]

A collection of PHP code snippets

This is a collection of php code snippets that seem to come in handy rather often. They are assembled here more for my own organization than anything else.
String: trim and convert to lowercase
A very straightforward but useful snippet. A string is first trimmed of any leading or trailing white space, and then converted [...]

500 error with GoDaddy’s form mail

I was getting a 500 error when trying to submit a form mail from my web site via GoDaddy’s gdform.cgi. I turned on error logging and this is what showed up:
SoftException in Application.cpp:624: Could not execute script “/home/content/a/r/d/ardamis/html/cgi/gdform.cgi”
Caused by SystemException in API_Linux.cpp:430: execve() for program “/home/content/a/r/d/ardamis/html/cgi/gdform.cgi” failed: Permission denied
[Sun Dec 2 01:34:05 2007] [...]