Answers for "php file get contents binary data"

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

Browse Popular Code Answers by Language