Nathan Rixham wrote:
it's the pack offset that's wrong; remove all together and you'll get the correct results:$d = unpack('nth/Ntl/nfudge/nmac_size', $data);
Thanks, thought I had already tried that but obviously not. Cheers James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php