Answers for "php read file as binary string"

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