Converting binary data

From: Date: Tue, 11 Jun 2002 12:59:25 +0000
Subject: Converting binary data
Groups: php.general 
Request: Send a blank email to php-general+get-101540@lists.php.net to get a copy of this message
Hi I'm retriving some binary data from a Interbase blob field (a custom format to do some drawing) into a php variable like this: $blh = ibase_blob_open($row[4]); while ($blob = ibase_blob_get($blh, 400)) $Objects .= $blob; ibase_blob_close($blh); Now I want to tell php to get first 4 bytes (btw, is there something that returns size of integer - sizeof seems to work on arrays only), and convert them to integer Thanks Lucijan

« previous php.general (#101540) next »