ok
Direktori : /home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/ |
Current File : //home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/src/Iyzipay/FileBase64Encoder.php |
<?php namespace Iyzipay; class FileBase64Encoder { public static function encode($filePath) { $imageBinary = fread(fopen($filePath, "r"), filesize($filePath)); $base64Binary = base64_encode($imageBinary); return $base64Binary; } }