Answers for "how to get binary format image data in php"

PHP
1

file to binary php

$data = fopen ($image, 'rb');
$size=filesize ($image);
$contents= fread ($data, $size);
fclose ($data);
Posted by: Guest on January-25-2021

Code answers related to "how to get binary format image data in php"

Browse Popular Code Answers by Language