Archive for May, 2006

.htaccess and spam

Thursday, May 25th, 2006
You know, while I sit here, working on a new theme to put up on the site so people can download it, and waiting for my hair to dry, I just remembered one of the best things I have to offer people. My .htaccess file. I've developed my .htaccess file over the last few years, and haven't had to touch it in about 2 years, because it's so effective in controlling spam. I won't confirm the types of spam it controls, because I've also had other methods in place - but one thing I do know is that it controls referer spam. For those of you that don't know, here is the Wiki on referer spam: "Referer spam is a kind of spamdexing (spamming aimed at search engines). The technique involves making repeated web site requests using a fake referer url pointing to a spam-advertised site. Sites that publicize their access logs, including referer statistics, will then also link to the spammer's site. This benefits the spammer because of the free link, and also gives the spammer's site improved search engine link placement due to link-counting algorithms that search engines use." In other words, the lazy jerks ride your tails, and most likely, you don't even know they're doing it. If you want to see, go log into your host's cPanel (or whatever you use) and check your web stats for referers. Betcha there's a bunch of sites that "refer" to you, with names associated with pharmaceuticals, porn, celebrities and poker, among other things. I got so sick and tired of seeing this stuff in my logs...I could never see who was actually linking to me and get correct stats. So, I began working on an .htaccess file to elimate the problem. I won't promise this - but I've also noticed my comment spam has been reduced by a lot on my blogs. However, my personal blog actually utlizes Moveable Type (not WordPress, like this one), and I've found the MT Blacklist to be something I can't live without - and I'm quite sure that the MT Blacklist had a large helping hand in working with the .htaccess file in getting my spam reduced to almost nothing. That all being said, I'm willing to share my .htaccess file with you. So, without further ado...

Themes - coming soon!

Tuesday, May 23rd, 2006
Of course, we have to define "soon"...haha. Reminds me of "Noah's Ark" being built somewhere off of 68 or 70, before you get to Hagerstown. There's this big thing made of steel I-beams sitting there off the side of the interstate, and a great big sign that says "Noah's Ark replica Coming Soon!" or something like that. Funny thing is, that stuff has been there since I was like 12 years old or something. So, if I go by that standard of "soon", we're saying I've got something like 21 years before "soon" qualifies as "outdated and never happeneing". LOL But seriously, this is something I plan on doing before 21 years is up ;) They'll be here ...

Links

Tuesday, May 23rd, 2006
W3C Specifications W3C CSS Validator W3C Markup Validator Resources A List Apart WebMonkey SitePoint WebmasterWorld Forums Tools More Crayons: Color Scheme Generator Internet Explorer Standalone Browsers Alternate "Lorem Ipsum" Generator Yahoo! MapMaker Special Character HTML entities Identify a Font Fonts and Images DaFont My Fonts iStockPhoto stock.xchng DreamsTime Stock Images MorgueFile Stock Images

About

Tuesday, May 23rd, 2006
o, here's the "about me" page, or whatever. Yay. I always find this page to be the hardest one to do. I'm going to try to do this fast, because I never know what to say. So if it doesn't make sense - well sorry. Talking about myself usually isn't a favorite pastime of mine. Neither is shopping. Oh my God - yes I did say "I hate shopping." And yes, I swear, I'm a female, and always have been. I'm just a weird one, I guess. So anyway, let's see...tidbits of info... I'm originally from a farm in West Virginia, but I recently moved to Connecticut. I'm the ...

php forms

Tuesday, May 23rd, 2006
We're going to start with my PHP forms. These forms are, by far, the item I receive the most requests for by other web designers. They do require a little understanding of what you're looking at (in other words, you should be able to understand PHP coding at least a little bit) - but in the interest of trying to "make life easier", I've commented out the code as much as possible. These forms were initally developed on PHP4, but eventually had to progress to PHP5 compatibility. So you must have either PHP4 or 5 available on your server for these to work. I've tested and retested these forms on many levels, and I've had experts assist me in securing ...

sticky footer

Friday, May 12th, 2006
So, I've been trying for a while to figure out the whole "Holy Grail" (as it's been called) of layouts: the 3 column layout with header and "sticky footer" that works cross-browser. A List Apart has one, but it relies on having a huge bottom padding, and then reversing that with a huge negative margin. Me, I'm chick who likes to use negative margins as sparingly as possible - meaning only when I have to, and preferably nothing in the quadruple (or larger) digits. There's several other ones I'd found - but most of them relied on similar fixes - or javascript to determine the browser window's height (for IE purposes). For me, javascript is a no-no. The point of CSS is so people can still see what you're doing - whether javascript is turned off or not. Then there were ones that were fixed width and centered, and didn't have sidebars. Neat idea - but I needed more. Then I came across this site the other day, and the guy had a 3-column layout. It was nice, and exactly what I was looking for - however it had a lot of hacks and (what seemed to me) unnecessary extra code and CSS in there. So I played with it...

Disjointed rollovers

Sunday, May 7th, 2006
So I'm back from my little hiatus (I'm sure you missed me! hahaha), and had a new challenge posed to me. Image swaps are cool for rollover effects, but what about disjointed rollovers? Can they be accomplished with no javascript? I'm here to tell you "hell, yeah!" And I will also show you :)