jsnlib / filelink
1.1.0
2018-03-30 03:24 UTC
Requires
- php: >=7.0.0
This package is auto-updated.
Last update: 2025-03-29 00:39:40 UTC
README
認證檔案連結,可以避免非法盜連
session_start(); require_once '../vendor/autoload.php'; $Filelink = new Jsnlib\Filelink; $Filelink->url("fileimg.php"); //文件一 $url = $Filelink->save("mini.jpg"); ?><img src="<?=$url?>" style="width:60px;"><? //文件二 $url = $Filelink->save("Lighthouse.jpg"); ?><img src="<?=$url?>" style="width:60px;"><?