Results 1 to 7 of 7
Thread: binary to text
-
11-26-2002, 07:34 PM #1Aspiring Evangelist
- Join Date
- Jul 2002
- Posts
- 421
binary to text
Anyone know where I can get a binary to text convertor?
ThanksCory Cone
www.XstreamHost.com
-
11-26-2002, 07:36 PM #2Web Hosting Master
- Join Date
- Jan 2001
- Location
- Illinois, USA
- Posts
- 7,175
so you want to see what that sig says too eh ?
http://www.sitinthecorner.com/binary/binary.php
-
11-26-2002, 07:48 PM #3Aspiring Evangelist
- Join Date
- Jul 2002
- Posts
- 421
Dang right I do!
Cory Cone
www.XstreamHost.com
-
11-26-2002, 07:51 PM #4Aspiring Evangelist
- Join Date
- Jul 2002
- Posts
- 421
All them numbers just for "vex loves you! "
Thanks akashCory Cone
www.XstreamHost.com
-
11-26-2002, 08:09 PM #5Web Hosting Master
- Join Date
- Aug 2002
- Posts
- 926
ultra edit was it.......get it from download.com
its super.» Poised.com - Marketing with Passion
Tamer o'kail - Creative Director
-
11-26-2002, 08:09 PM #6Combat Vet, prepper and author
- Join Date
- Sep 2002
- Location
- Phoenix area
- Posts
- 1,121
...lol...
Learn survival/prepper information from a combat veteran at Graywolf Survival
-
11-26-2002, 09:56 PM #7Web Hosting Guru
- Join Date
- Apr 2002
- Location
- Canada
- Posts
- 283
PHP Code:<?php
if($action == "ENCODE") {
$textToDecode = AsciiToBinary ($textToEncode);
} else if($action == "DECODE") {
$textToEncode = BinaryToAscii ($textToDecode);
}
function AsciiToBinary ($text)
{
for($i=0; $i < strlen($text); $i++) {
$new = ord($text[$i]);
$new = decbin($new);
$new = strval($new);
while (strlen($new) < 8) {
$new = "0" . $new;
}
$text2 = "$text2$new";
}
return $text2;
}
function BinaryToAscii ($text)
{
for($i=0; $i < (strlen($text)/8); $i++) {
$new = substr($text, ($i*8), 8);
for($j=0; $j < 8; $j++) {
if($new[$j] == "1") {
$new = chr(bindec(substr($new, $j,8-$j)));
$text2 = "$text2$new";
break 1;
}
}
}
return $text2;
}
?>
<font face="verdana,arial,helvetica" size=1>
<center><B>BINARY < - > ASCII CONVERTOR</B>
<BR>
</font>
<table border=0 cellspacing=0 cellpadding=10><tr><form method="POST" action="index.php">
<td align=center>
<font face="verdana,arial,helvetica" size=1>
<input type="hidden" name="action" value="ENCODE">
<B>[ TEXT ]</B><BR>
<textarea cols=30 rows=10 wrap="virtual" name="textToEncode" class="ff"><?php echo $textToEncode; ?></textarea>
<BR>
<input type="submit" class="btn" value="ENCODE >>">
</td></form><form method="POST" action="index.php"><td align=center>
<font face="verdana,arial,helvetica" size=1>
<input type="hidden" name="action" value="DECODE">
<B>[ BINARY ]</B><BR>
<textarea cols=30 rows=10 wrap="virtual" name="textToDecode" class="ff"><?php echo $textToDecode; ?></textarea>
<BR>
<input type="submit" class="btn" value="<< DECODE">
</td></tr></form></table>
</td></tr></table>Jason Mansfield - jmansfie [at] uoguelph.ca