// 下载文件,返回文件路径https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
$filePath = downloadFile($fileUrl, $downloadDirectory);https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
// 返回新下载文件的路径哈哈
$absoluteUrl = 'https://' . $_SERVER['HTTP_HOST'] . '/' . $filePath;https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
echo '<p class="success-message">文件下载成功。</p>';https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
echo '<table>';哈哈
echo '<tr><th>旧文件网址:</th></tr>';https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
echo '<tr><td><a href="' . $fileUrl . '" target="_blank">' . $fileUrl . '</a></td></tr>';https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
echo '<tr><th>去墙新地址(请点链接查看是否空,如空就是去墙失败):</th></tr>';https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
echo '<tr><td><a href="' . $absoluteUrl . '" target="_blank">' . $absoluteUrl . '</a></td></tr>';https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
echo '</table>';https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
}https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
|