Location: PHPKode > projects > CoreAsset > coreasset/file_read.php
<?php
// get contents of a file into a string
$filename = "imgcr.php";
$handle = fopen($filename, "r");
$contents = fread($handle, filesize($filename));
echo base64_encode($contents);
//fclose($handle);
?>
Return current item: CoreAsset