Archive for March, 2007

Check Quota 2.0 development status

Update: I have completed Check Quota 2.0. The only thing left is remaking Flash graphs. I will publish the plugin in a few days.

I have completed most of the Check Quota functions. Finished things are:

  • Rewritten the plugin as a class. The code is much more simplified and does not repeat itself.
  • Rewritten UNIX quota checker from scratch. It is faster and more stable now.
  • Simplified IMAP quota checker a little bit.
  • Rewritten GD grapher from scratch. It can draw better graphs now.
  • Configuration variables have been simplified and now they are in an array. So you will need to reconfigure your plugin.

Things to do:

  • Finish experimental cPanel functions.
  • Remove some bugs in Flash graph drawer.
  • Finish MOTD functions.

I hope the plugin will be available in a few weeks.

OMA DRM 1.0 Packager PHP Class

I have been searching for a command line tool to use as a DRM Packager for OMA (Open Mobile Alliance) DRM 1.0 compliant devices. My main concern was to create the DRM files without human interaction, so that I would have the content repository in some place and add real-time digital rights to the files when they were downloaded.

I found a useful Packager from Sony Ericsson, but it has no command line packager to use with Linux or Mac OS X. I also found some scripts written with Java SDK, but I did not want Java involved in this.

So I wrote my own DRM Packager class in PHP. It only calls OpenSSL as an external application when needed, other than that it is a pure PHP class. It can be used from command line as an application, or it can be used via the webserver to serve real-time DRM packed files.

The advantages of the class:

  • Can create real-time DRM packed files
  • Fully compliant with OMA DRM 1.0
  • Can create DRM files for forward-lock, combined or seperate delivery (.dm and .dcf)
  • Can create rights files compatible with XML and WBXML format (.dr and .drc files)

Check Quota 2.0 development started!

I have started upgrading Check Quota to v2.0. I hope it will be ready in a few weeks.

Things to do are:

  • Rewrite UNIX checker function from scratch
  • Add experimental cPanel quota support
  • Make plugin SM 1.5.2 compatible
  • Make plugin XHTML compatible
  • Remove repeating functions and make the plugin more compact
  • Remove PHP warnings and notices
  • Other things that I cannot remember now :)

I am open to suggestions. You can contact me via the email address found in my contact page.