Download the latest version (ZIP).

If you have a question about the plugin please go to the plugin’s homepage.

This release has been internationalized. I have created a German language file myself. If you would like to create a language file in your language you are more than welcome to do so (POT file is included with the plugin). Please contact me by posting a comment on this post (and be sure to provide the correct e-mail address so I can write back) to have it included in the next release.

I have written a Wordpress Plugin: Top Spammers displays a list of your top spammers’ IP addresses, based on all comments in your database that are marked as spam. It also generates a blacklist for your .htaccess file to block those spammers from your website entirely, thus taking load off the server. You will need another plugin (like Akismet) to identify the spam.

Download the latest version (ZIP).

If you have a question about the plugin please go to the plugin’s homepage.

http://twitter.com/search?q=#fmdevcon

August 14, 2009 | No comments

Syntax Highlighting on this blog is brought to you by http://alexgorbatchev.com/wiki/SyntaxHighlighter. – I’m using the “old” 1.5.1 version on purpose: it allows you to copy the code to your clipboard without using the flash code… unlike the new version where you end up selecting the line numbers as well. Update: I’ve shifted to the SyntaxHighlighter Evolved Wordpress plugin by Viper007Bond.

August 6, 2009 | No comments

I was in need of a PHP class to encrypt hash and verify passwords using salted sha1 hashes. Here it is, quick but not too dirty:

<?php

class SSHA
{

  public static function newSalt()
  {
    return chr(rand(0,255)).chr(rand(0,255)).chr(rand(0,255)).chr(rand(0,255));
  }

  public static function hash($pass,$salt)
  {
    return '{SSHA}'.base64_encode(sha1($pass.$salt,true).$salt);
  }

  public static function getSalt($hash)
  {
    return substr(base64_decode(substr($hash,-32)),-4);
  }

  public static function newHash($pass)
  {
    return self::hash($pass,self::newSalt());
  }

  public static function verifyPassword($pass,$hash)
  {
    return $hash == self::hash($pass,self::getSalt($hash));
  }

}

(Almost) Everybody should read this book: Design Patterns. Elements of Reusable Object-Oriented Software.

July 26, 2009 | No comments

FileMaker DevCon is coming up in Phoenix, Arizona this Sunday thru Thursday, July 13-17. Whether you’re at DevCon or not, listen in or call in to the FileMaker Files @ Devcon Live, the first live internet radio program coming to you directly from any FileMaker Developer Conference with live guests, FileMaker trivia, interviews and live two-way talk. Go to filemakerfiles.com to listen: Monday, July 14, and Tuesday, July 15, 1pm-2pm Mountain Standard Time, U.S. – Hopefully the shows will be available for download for those who won’t be able to tune in live (like me).

- 85.3 KB yeah, right.

July 4, 2008 | No comments

FileMaker Pro uses Xalan (Xalan-C) as its built-in processor for XML imports and exports. That means you can use some EXSLT extensions in your import/export XSLT stylesheets. I find the nodeset-function particularly useful.

It’s so hard to believe I could ever live without ORM.

June 2, 2008 | No comments

« Older entries