Re: [PHP] Problem using unpack

2001-05-20 Thread Zak Greant
$playerdata = unpack('czero/A'.$length.'one/itwo/fthree/A*four', $rest); Good Luck! --Zak - Original Message - From: "Craig Vincent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 20, 2001 4:00 AM Subject: [PHP] Problem using

[PHP] Problem using unpack

2001-05-20 Thread Craig Vincent
I'm current trying to use PHP's unpack feature to decode a binary string and am running into a problem. Here is the unpack command I am using $playerdata = unpack("czero/A$lengthone/itwo/fthree/A*four", $rest); basically it is setup so that the hash created has 5 key/value pairs named zero, one