Javascript String.reverse and String.translate

10 February 2010 • code |
2 Comments

The comment about obfuscating email addresses led me to look for Javascript functions that reverse a string, or translate characters รก la PHP’s strtr() function.

Of course, they don’t exist natively, so here are my versions that extent the String class:

Schedule_At

27 February 2009 • code |
No Comments

Schedule_At was a PEAR class I wrote in 2003. It was a quick, hack-y interface to the command-line at scheduler from within PHP.

Based on an email query I received today, I’m making it directly available here. Enjoy!

Email Protection with JQuery

26 July 2007 • code |
4 Comments

I’ve been using Prototype.js and script.aculo.us quite a bit on any sites I’ve done lately. I remember way back when Javascript and DHTML-goodies were a dark art, and getting that drop-down menu working just right was a huge relief. Well, these two tools have been a time-saver.

As it turns out, I couldn’t get one particular drop-down menu fade-in/out to work with Prototype/Script.aculo.us … so I decided to take a look at one of the other Javascript frameworks out there: jQuery. In no time, I had things working the way I wanted.

I'm Still Alive

27 March 2007 • article | Life
No Comments

I just realized it’s been a year since I posted here. Yikes!

I am still among the living, don’t worry. I’ve gone through a bit of a career change and am actually back at school pursuing something I’ve always been interested in.

MySQLi in PHPAdsNew 2.0.8

27 March 2006 • article | PHP
No Comments

Here is a quick patch for users of PHPAdsNew who are running their site on PHP5 and MySQL 4.1.

This is the same patch I previously offered against PHPAdsNew 2.0.7. Version 2.0.8 was released this week, so here’s an upgraded patch. Enjoy!

Older articles