January 31, 2007
Phew. If the preceding line makes your head hurt, relax. It's much easier than it sounds.
If you've managed a web site long enough, you'll have changed your layout, your pages, maybe your directory structure. You yourself, and others, will have links to your old pages. Search engines may have links to your site as well. You don't want broken links. You don't want to lose search-engine traffic, lose clients, lose credibility. You need to redirect.
Again, we show you how.
Idiosyncracies and failures in the use of google_ad_section tags to drive targetted AdSense content
December 2, 2006
Using Google AdSense's google_ad_section tags should help AdSense deliver more precisely targeted content by focusing only on the most pertinent information on your page. It should - but using it such tags can actually cause you to lose targeted content, if you do not also focus it on the page's meta-data, including title, description, and keywords.
We learned the painful way. For example, our article Find that Font! Fantastic font sites should have brought up font-related advertising. No such luck. Title, description and keyword tags went completely ignored. Five months after the article went up - more than time enough for AdSense to correctly index the site - ads came up for 'Full-featured EMR', 'Health', etc.
The google_ad_section tags cause material outside the tags to be excluded. Not weighted less, but totally excluded, including highly relevant stuff, like your page's title and description.
[ Read more ... ]
Contact Form to E-mail script validates e-mails and checks against e-mail header injection
November 23, 2006
Contact forms aren't hard to code, and the PHP mail() function is pretty simple - and yet, implementing such a form, handling the POSTed information, error-checking, and providing basic security, can quickly seem a daunting task.
and still, sometimes, the spambots win.
Ars Informatica provides a very simple, easy-to-modify script to generate your own feedback form. It provides all the functionality mentioned in the opening sentence.
You provide two lines of code, total, and you're off. Though you may wish, and are free, to change this code as much as you like.
[ Read more ... ]