List Info

Thread: note 68492 added to function.bin2hex




note 68492 added to function.bin2hex
user name
2006-07-29 17:02:23
nilzie what you have done is a simple base conversion, here
is the code, and the url :
http://www.php.net/manual/en/function.base-convert.php

<?php

echo base_convert("101101011100", 2, 16);
//print b5c
echo base_convert("1011 1000 1111 1100", 2, 16);
//print b8fc
echo base_convert("1000 1011 1101 0010", 2, 16);
//print 8bd2

?>
----
Server IP: 217.174.203.10
Probable Submitter: 86.204.204.15
----
X-Spam-Status: No, hits=3.1 required=5.0
tests=DATE_MISSING,FROM_NO_LOWER 
	autolearn=no version=2.64
----
Manual Page -- htt
p://www.php.net/manual/en/function.bin2hex.php
Edit        -- http://master.p
hp.net/note/edit/68492
Del: integrated  -- ht
tp://master.php.net/note/delete/68492/integrated
Del: useless     -- http:
//master.php.net/note/delete/68492/useless
Del: bad code    -- http
://master.php.net/note/delete/68492/bad+code
Del: spam        -- http://m
aster.php.net/note/delete/68492/spam
Del: non-english -- h
ttp://master.php.net/note/delete/68492/non-english
Del: in docs     -- http:
//master.php.net/note/delete/68492/in+docs
Del: other reasons-- http://master
.php.net/note/delete/68492
Reject      -- http://master
.php.net/note/reject/68492
Search      -- http://ma
ster.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

note 68492 deleted from function.bin2hex by betz
user name
2006-07-29 17:23:40
Note Submitter: jerome dot heil at gmail dot com
Reason: spam

----

nilzie what you have done is a simple base conversion, here
is the code, and the url :
http://www.php.net/manual/en/function.base-convert.php

<?php

echo base_convert("101101011100", 2, 16);
//print b5c
echo base_convert("1011 1000 1111 1100", 2, 16);
//print b8fc
echo base_convert("1000 1011 1101 0010", 2, 16);
//print 8bd2

?>

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )