My little form doohicky library is awesome (unfortunately, the version up there is pretty old). I know I've molded it into something fairly decent because I just added something to one of my 'actions' and I did what I thought should work, and it actually worked without changes to the library.
What I added was a hidden field in my comment form that tracks the referrer that someone has when he first gets to one of my weblog posts, which will stick with the form through previews and so on and I'll get it when I get my mail notification of the final post. That way, instead of having to look through my log to see where people came from (i.e. search engines or wherever), I'll have it right in my e-mail. Previously, I already got the referrer in my e-mail, but since the actual referrer for the comment submission will always be the same as the page of the weblog post it was pretty useless.
It took all of about 3 lines. 1 to define the field. 2. a condition to set it to the referrer if the field hasn't already been set and if the referrer is set. 3. something to set $_SERVER['HTTP_REFERER'] to that field before my mail gets sent off.
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):