Re: unpack bug?
| From: | James Lucas | Date: | Thu, 15 Jan 2009 15:44:36 +0000 |
| Subject: | Re: unpack bug? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286435@lists.php.net to get a copy of this message | ||
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