Yep, that's the procedural version. Should do. However I remember a problem with running this on Windows a while back. I think it was to do with %a - I sort of remember you had to have PHP VC9 instead of VC6 installed. I may be wrong - it was a while ago.