Category Archives: php
Catching Automated Form Submissions And Trapping Spam Bots
If you are a website owner and are inundated with various kinds of spam from form-submitting robots, don’t sweat it. There are ways to catch these spambots in the act, and prevent them from working efficiently. I’m sure you are already familiar with some of the more annoying methods for reducing spam, such as random images, [...]
Image Text With Custom Font Using PHP And GD
Here is a text-to-image program I put together which generates on-the-fly images from text using a custom font located on the same server. This program requires a PHP and GD enabled server. The text image is generated in transparent PNG format using the font, font size, font color, font angle, and text-transformation of your choosing. [...]
HTTP Referrer Spam Checker
My website used to be inundated with referrer spam until I wrote a php script to address the problem. Now, referrer spam isn’t a problem anymore. What is referrer spam?
Twiceler Robot – Send it back to whence it came with PHP
Are you constantly bothered by Cuil dot com’s bandwidth leeching Twiceler robot web crawler? Did you deny Twiceler in your website’s robots.txt or htaccess yet continue to be pestered by it? That’s a bad robot! You can easily stop Twiceler robot and send it back to whence it came with a few lines of PHP. [...]
Spam-less Contact Form With Email Confirmation
I received a number of requests for a public version of my contact form I use on this website. You can view a demo here. This contact form requires PHP version 5 or higher and uses jQuery and the jQuery UI framework, which are both included with the contact form.