A dark Plogger theme that uses Lightbox 2.
Interrupting a script.aculo.us event
A client wanted me to implement a drop down contact form that was triggered when the cursor hovered over a button in the site’s navigation. This was no problem, and I delivered some code using script.aculo.us‘s blind effect. A few hours later, the client contacted me and said that as he moved his cursor around [...]
A PHP script for converting between different datetimes
This script converts a Unix timestamp (Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)) to the International Standard ISO 8601 date and time notation (YYYY-MM-DD hh:mm:ss) and vice versa. I find it useful for verifying datetimes. Date Time Convert
Protecting a download using a unique URL
A PHP script to protect a download by generating a unique link. Each time you visit a page, a unique link is created that can be shared. The link will expire after a certain amount of time or number of uses. With some work, this could be integrated with your Paypal “thank you” page.
A PHP script for testing a MySQL database connection
A simple web page that you can use for testing a MySQL database connection.
How to Geolocate Visitors Using an IP-to-Country Database
In this post, I’ll illustrate how to use the IP-to-Country database available from http://ip-to-country.webhosting.info/ to identify the real-world geographic location of visitors to a web page (geolocate) based on their IP addresses. Once you know where a visitor is physically located, you can do all sorts of nifty things, such as send them location-aware content [...]
A collection of PHP code snippets
This is a collection of php code snippets that seem to come in handy rather often. They are assembled here more for my own organization than anything else.
Defeating WordPress comment spam
How to reduce WordPress comment spam by implementing a challenge-response system that uses JavaScript to hide the path to the form processing script.
Plogger 3 theme: Broadway
A dark Plogger theme that takes elements from the Yahoo! Broadway page of 2007.
Using timestamps to reduce WordPress comment spam
The method described in this post uses PHP to generate the timestamps. If your site is using a caching plugin, the timestamps will be stale, and this method will not work. I’m working on a new method using JavaScript for sites that use page caching. In this post, I’ll explain how to reduce the amount [...]
Read more...
Posted on 15 December 2007 and last updated on 26 August 2011 by Oliver Baty with tags blogging, coding, comment spam, php, programming, WordPress and categorized Web Site Dev, WordPress
10 Comments »