I need a small function from flash converted into PHP. The function is attached as an image. The function is designed to decode a string into a URL.
Here are some examples
SOfyzhOfwhcczi2XR0cbvf2Zwecx1iOURiXcxTQRRadYRRQxyvePhfQZSabN
SOfyzhOfwhcczi2XR0cbvf2Zwecx1iOUS0ZYPg2zxzeQVg0VxSYXhfQZSabN
I need this done quickly.