💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
>[success] ### 上传下载文件 1.上传文件 A.使用函数 ~~~txt move_uploaded_file($src,$dst) ~~~ B.函数介绍 [http://php.net/manual/zh/function.move-uploaded-file.php](http://php.net/manual/zh/function.move-uploaded-file.php) 2.下载文件 A.使用函数 ~~~txt Header("Content-Disposition:attachment;filename=$filename"); Header("Content-length:$filesize"); Readfile($path); ~~~ B.函数介绍 [http://php.net/manual/zh/function.readfile.php](http://php.net/manual/zh/function.readfile.php)