Base64 URL Encoding with PHP, in brief.

Here’s a quick little PHP snippit to encode your URLs for use for the Simple redirect discussed earlier. It’s amazingly trivial:

This will provide the base64 encoded sequence, which can then be passed to your parser (as noted in the prior notice), which can call a redirect as simply as:
http://www.holwegner.com/go/aHR0cDovL3d3dy5ob2×3ZWduZXIuY29tLw==, for example, which redirects to my root page.