Archive for the “php” category

Zend_Service_Spotify

by Jason on October 11, 2011

I just posted the initial beta release of Zend_Service_Spotify to my Github account. I’ve always really appreciated the Zend Framework components due to their coding style, code comments (not to be confused with real documentation), and inter-operability. So, I decided (…)

Read the rest of this entry »

Rails Flash Notices in Zend Framework

by Jason on June 7, 2011

Anyone that has used Zend Framework, especially Ruby on Rails developers, have most likely implemented the FlashMessenger Controller Action Helper and wished that you could organize the messages into different types. As a Ruby on Rails developer I have been (…)

Read the rest of this entry »

How to reindex a Solr Database

by Jason on May 22, 2011

The past few months I’ve ventured into new territories such as Hadoop Map Reduce, Amazon Web Services, and the topic of this post Solr. My experience with Solr has been amazing. The learning curve for this database is VERY light. (…)

Read the rest of this entry »

PHP File Streaming with cat and passthru

by Jason on November 9, 2009

The problem This weekend, I needed to figure out how to make an on-request, downloadable, backup of an entire MySQL database (for Magento, in case you were wondering). At first, I attempted the simplest approach, which was to perform the (…)

Read the rest of this entry »

PHPMailer Inline String Attachment

by Jason on September 9, 2009

Recently, while using PHPMailer, I needed the ability to have an inline string attachment, however this functionality is not present as of version 5.0.2, so I wrote my own. For those who don’t know, PHPMailer has a number of ways (…)

Read the rest of this entry »

WordPress API

by Jason on July 5, 2009

Recently I’ve gotten into WordPress plugin development. I’ve created a few plugins for clients that include widgets, settings pages, and hooks into several actions. However, one thing I’ve not yet been able to figure out is how to encrypt settings (…)

Read the rest of this entry »

Kaltura WordPress Plugin – Switching Partner IDs

by Jason on May 26, 2009

I am using the Kaltura All-In-One-Video WordPress Plugin on a project these days and I’ve come across a situation where I needed to switch my Partner ID to a new one (we purchased a paid account). However, there is currently (…)

Read the rest of this entry »

Antipodr

by Jason on October 29, 2008

Antipodr is a simple little tool I created with Jake Rutter that allows you to calculate the exact spot on the other side of the planet from any location you enter.  A complete waste of time, yes, but fun! Antipodr (…)

Read the rest of this entry »

PHP Autoload Issue

by Jason on September 11, 2008

On a recent project, I couldn’t figure out why the following block of code worked on OSX but not Red Hat Linux. function __autoload($class_name) { require_once ‘lib/’ . $class_name . ‘.class.php’; } I had a class named ‘bank.class.php’ which autoload (…)

Read the rest of this entry »