Read 125 times | Created 2013-03-06 03:23:29 | Updated 2013-03-06 03:26:54 | | |

 

<?php
$raw_data="78 9c 8d d8 79 54 53 57 1e 07 f0 67 a0 b8 4d 3b 
ee cb 0c b6 96 56 ea 56 50 69 ed 8c 9e 2e 12 e5 
a9 55 71 af 5a a8 75 41 8b a8 b1 8c e2 d0 69 1d 
0d 56 11 50 14 44 08 09 4b 59 4c 48 20 41 36 81";
$data=explode(" ",$raw_data);
$tmp=NULL;
foreach($data as $dt){
  $tmp .= chr(hexdec($dt));
}
$fp = fopen("testing.hex","wb+");
fwrite($fp,$tmp);
fclose($fp);
?>