PHP code example of ingenio / filesystem

1. Go to this page and download the library: Download ingenio/filesystem 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/ */

    

ingenio / filesystem example snippets


    
        define('RUTA_AB',$_SERVER['DOCUMENT_ROOT'].'/'.'uploads/');
        define('RUTA_WEB','https://localhost/uploads/');
    


 use Php\Filesystem\Filesystem\Filesystem;
 $files = new Filesystem();


<div class="container-fluid card press">
    <div class="row">
        <div class="col-lg-6">
             echo $files->getFormSubirFichero();