PHP code example of jsnlib / filelink

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

    

jsnlib / filelink example snippets


session_start();
 Jsnlib\Filelink;
$Filelink->url("fileimg.php");

//文件一
$url				= $Filelink->save("mini.jpg");