Last active
December 19, 2015 14:09
-
-
Save JABirchall/5967551 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
if ($_GET['action'] == 'decode'){ | |
echo hex2bin($_GET['loginid']); | |
} else if ($_GET['action'] == 'encode') { | |
echo bin2hex($_GET['loginid']); | |
} else { | |
echo 'Please choose decode or encode'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment