关于这个php远程下载的代码!!!!!!!!!!!!!
PHP code
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
-->
这个 代码,他的保存地址为 temp/ 有没有方法 让 这个文件保存地址 为 接受来自GET的数据 比如 a.php?file=index
则 目录为 index 有没有方法搞成这样
------解决方案--------------------
$destination_folder = 'temp/';
改为
$destination_folder = $_GET['file'] . '/';
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn