No, no one died. The death penalty? Cmon, would you be as sympathetic if it was a healthy young adult?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: rabbit on December 23, 2005, 09:35 AMQuote from: Joe on December 22, 2005, 01:50 PM<?
/* Parse a little-endian 32-bit integer (DWORD) */
function get_int32($data) {
$a = strrev(str_pad(dechex(ord(substr($data, 0, 1))), 2, '0', STR_PAD_LEFT));
$b = strrev(str_pad(dechex(ord(substr($data, 1, 1))), 2, '0', STR_PAD_LEFT));
$c = strrev(str_pad(dechex(ord(substr($data, 2, 1))), 2, '0', STR_PAD_LEFT));
$d = strrev(str_pad(dechex(ord(substr($data, 3, 1))), 2, '0', STR_PAD_LEFT));
return hexdec(strrev($a . $b . $c . $d));
}
?>
is that written yourself? http://www.php.net/manual/en/ref.strings.php
Page created in 0.058 seconds with 16 queries.