Hi,
I have some code developed on a linux system with PHP 5.1.6, its using
the PEAR Net_DNS class to send dns updates, part of this requires
unpacking a binary string, an example is below.
This works on PHP 5.1.6 but fails on 5.2.8, it appears that it may be in
relation to the following chan
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 unsub
2 matches
Mail list logo