Site hosted by Angelfire.com: Build your free website today!
Fill in the form, dinglefritz! ;)

\n"); } // Looks good, so clean up data $text = stripslashes(urldecode(strip_tags($text))); // Make copy of original text for later display $orig_text = $text; // Time to process the form if ($convert == "txt2bin") { // Convert from text to binary $text = chunk_split(txt2bin($text), 8, " "); } elseif ($convert == "bin2txt") { // Convert from binary to text $text = bin2txt(str_replace("\r\n", "", str_replace(" ", "", $text))); } else { // This shouldn't happen die("

Hmmm. Now THAT'S no good. How about go back and try again?

\n"); } // Display result echo("

$orig_text converts to:

\n"); echo("

$text

\n"); } else { // Form has not been submitted, so display greeting ?>

Welcome to the Snarkles.Net Text to Binary (and back!) Converter!

Please insert text below:


Convert from text to binary
Convert from binary to text

Fine Print Shtuff:
Snarkles.net Text-to-Binary Converter - Version
© 2000, 2001 snarkles