Jump to content

hknight

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Everything posted by hknight

  1. I want functions similar to base64_encode() and base64_decode() however only numbers and lowercase letters should be used. I want to be able to convert a string of text or binary data into a series of numbers and lowercase letters. My function works with numbers but not with text or binary data. <?php echo base36_encode('555555555'); echo '<hr />'; echo base36_encode('Hello World, this is a test!'); function base36_encode($base10){ return base_convert($base10,10,36); } function base36_decode($base36){ return base_convert($base36,36,10); } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.