Base64 Cipher | +----------------------------------------------------------------------+ | | | | (c) 2002 by M.Abdullah Khaidar (khaidarmak@yahoo.com) | | | | This program is free software. You can redistribute it and/or modify | | it under the terms of the GNU General Public License as published by | | the Free Software Foundation; either version 2 of the License. | | | +----------------------------------------------------------------------+ ************************************************************************/ include "main.php"; $TITLE="Base64 Encoder and Decoder"; $HEADTITLE="Base64 Encoder and Decoder"; top(); echo "
\n"; echo "Enter text you want to base64 encode or decode:
\n"; echo "

\n"; echo "  \n"; echo "\n"; echo "
\n"; if ($process=="Encode"){ $cipher=base64_encode($plain); echo "Text after xoft encode:
\n"; echo "

\n"; } if ($process=="Decode"){ $cipher=base64_decode($plain); echo "Text after xoft decode:
\n"; echo "

\n"; } bottom(); ?>