PHP code example of vincoweb / easy-php-file-info
1. Go to this page and download the library: Download vincoweb/easy-php-file-info library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vincoweb / easy-php-file-info example snippets
html
composer
html
$finfo = new \VincoWeb\FileInfo\FileInfo();
$i = $finfo->get($file_link [, bool $return_object = false ]);
html
FileInfo::get($file_link [, bool $return_object = false ]);
html
new \VincoWeb\FileInfo\FileInfo();
$i = $finfo->get('https://www.google.sk/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png');