Using Akismet to block spam on your WordPress blog is a no-brainer, but what about your custom blog or article site? It is possible to extend the Akismet anti-spam service to your own custom website. In this article, you will find a fully functional Akismet library for CodeIgniter as well as instructions and usage examples.
View Posts by Author
-
Akismet Class/Library for Codeigniter
-
Get the Lat/Lon Location of Major US Cities
In this article, learn how to fetch the latitude & longitude location of all major US cities. I’m going to provide you with a comprehensive list of almost 500 major US cities as well as the source, so you can get the updated list as city sizes change.
-
Omit the PHP Closing Tag
This is just a simple tip that presents a simple proposition – stop closing your PHP tags. Why? I will explain in this article. Keep in mind that this idea / standard only applies to PHP files that are only for PHP – no HTML.
-
Sort Posts by Comment Count in WordPress
I use this technique to show the most popular posts on our homepage, and although this isn’t a core feature in WordPress, it’s not all that hard to do. All it takes is a little PHP and a single edit to one of your WordPress template files.
-
Encrypting Password & Other Sensitive Information
Encrypting sensitive data is extremely important. You, as the webmaster or database administrator, needs to make sure that the data is safe, even if it falls in the wrong hands. In this article, I will show you how to use MD5 and SHA1 encryption in PHP.
-
Load RSS Feeds into PHP Arrays with lastRSS
RSS Feeds are a great way to keep up with the latest news and blog sites, but we can also use them to bring data into our PHP applications. In this article, I will show you how to load any RSS feed into variables that you can manage in PHP.
-
Locate the Nearest Radar Station and Display Radar Images
Including up-to-date radar images on your website is easier than you might think. In this article, I am going to share where you can get radar images for free for US radar sites and even share some sample code that will fetch the closest radar site by lat/lon and display it on your website.
-
How to Get the Geographic Location of an IP Address
An IP address used to mean nothing to us, other than where they are in the cyber world, but it is now possible to find out where they are in the real world, using databases that are freely available. In this article, I will disclose where you can get a free database that will tell […]
-
How to Post Data and Fetch Remote Pages from PHP Scripts
There are times where a PHP script needs to fetch the HTML from a remote page, or even post some data to a remote location. Learning how to use cURL or fsockopen() can be time consuming and unnecessary. There is a nice PHP class called Snoopy that can take care of all these functions very […]
-
5 Sources of Free Weather Data for your Site
The weather has always fascinated me, and I actually almost became a meteorologist instead of a full-time entrepreneur. I recently had a project where I had to pull tons of weather data and display it on a website. It took tons of research to find what I was looking for, so I am presenting all […]