This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我有一个表,其中存储用户上传的文件和一个显示特定用户上传的所有文件的 php 页面。当用户单击该链接时有一个下载链接我将文件 id 传递到我的download.php页面然后在 download.php 页面中我正在使用该 id 检索文件数据。每次用户单击特定文件的下载链接并使用此密钥和文件 ID 时,我想生成一个随机密钥,我想从数据库中检索文件数据。我该怎么做。