file to binary php

54

file to binary php -

$data = fopen ($image, 'rb');
$size=filesize ($image);
$contents= fread ($data, $size);
fclose ($data);

Comments

Submit
0 Comments