Combine two or more associative arrays and sum the values of any keys that exist in common.
Aleph Studios Is Launched
I’m excited to announce a new site of mine – Aleph Studios – which will be the new home for my web development freelance work.
Upgrading GoDaddy Hosting to PHP 5.x from PHP 4.3.11
How to configure your GoDaddy linux hosting plan and .htaccess file to run your *.php pages on PHP 5.2.5.
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 time and number of uses.
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.
Broadway 2 + Lightbox: a Plogger theme
A dark Plogger theme that uses Lightbox 2.
PHP pages return a 404 error on IIS
I was installing PHP 5 on an IIS 6 server when I ran into what turns out to be a pretty common problem. PHP appeared to be installed correctly, but browsing to any page with a .php extension returned a 404 Page Not Found error. While the steps below fixed this for me, [...]
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.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ [...]
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 page for testing and troubleshooting a connection to a MySQL database. The PHP script will test the server address, username and password. If the database field is left empty, it will return a list of available databases. Testing a specific database is optional, but if a database name is supplied, [...]
