Please answer this simple SPAM challenge: two minus two? (Example: nine)
Just an example: If you convert 26 to bin you'll get 11010, which is 5 chars long. If you need the full 8-bit value use this: $bin = decbin(26); $bin = substr("00000000",0,8 - strlen($bin)) . $bin; This will convert 11010 to 00011010.
<< Back to user notes page