Archive for posts tagged ‘database’

A PHP MySQL snippet for looking up names

A PHP snippet and MySQL query for an Ajax autocompleter lookup of people names by either “Firstname Lastname” or “Lastname, Firstname” from a single input field.

Read more...

A cache-friendly method for reducing WordPress comment spam

A safe-for-cached-pages method of filtering out spam comments by requiring at least some time to have passed between the time the page is loaded and the form is submitted.

Read more...

Jealous of The Social Network

A short list of my programming accomplishments.

Read more...

Online tools for testing web page performance

A collection of online tools for measuring the performance of web pages, including time to first byte.

Read more...

A chart illustrating the reduction in comment spam at ardamis.com

A screenshot of the Akismet stats graph showing the number of spam comments at ardamis.com identified by Akismet before and after my anti-spam system was implemented.

Read more...

Protecting multiple downloads using unique URLs

A PHP script for protecting multiple downloads by the use of unique URLs. The actual file on the server is not discoverable and each URL will only be valid for a certain period of time and number of uses.

Read more...

Minifi.de – Another URL shortening service

Minifi.de is a URL shortening service like tinyurl.com, bit.ly, and is.gd. You enter a long URL and it returns a shorter one.

Read more...

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.

Read more...

A PHP script for testing a MySQL database connection

A simple web page that you can use for testing a MySQL database connection.

Read more...

Resolving transaction concurrency issues in a PHP+MySQL multi-user environment

Here’s how I’m implementing my solution to the lost update concurrency issue by comparing timestamps generated when a record is saved and accessed.

Read more...