Created
October 5, 2012 19:09
-
-
Save LouisLandry/3841754 to your computer and use it in GitHub Desktop.
Base36 Encode/Decode functions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function base36_encode($base10){ | |
return base_convert($base10,10,36); | |
} | |
function base36_decode($base36){ | |
return base_convert($base36,36,10); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment