Category Archives: php
Image Text With Custom Font Using PHP And GD
Here is a 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. Instructions: [...]
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.