PHP一次性过期链接

PHP一次性过期链接,php,mysql,sql,Php,Mysql,Sql,我想要一个像www.something.com/Somenumber/index.html这样的Url 示例www.google.com/101521145/index.html 意思是我想要一个随机数在要求的页面之前 如果您只需要随机性,那么是否可以使用PHP和Sql <?php $time = round( microtime( true ) * 1000 ); //microtime returns the current microseconds of you server

我想要一个像www.something.com/Somenumber/index.html这样的Url

示例www.google.com/101521145/index.html

意思是我想要一个随机数在要求的页面之前


如果您只需要随机性,那么是否可以使用PHP和Sql

<?php

   $time = round( microtime( true ) * 1000 ); //microtime returns the current microseconds of you server

   echo $time;
?>


在Stackoverflow这样的网站上,询问是否有可能是没有意义的。最有可能的答案是“是的”,或者“可能”,或者众所周知的“这取决于”。这很可能不是你想要的。请编辑并改进您的问题,这里有一些帮助:假设使用两页“index.php”和“downloads.php”,如果我们使用一些逻辑将客户端从index.php重定向到downloads.php,假设客户端从index.php重定向到。/185451/downloads.php。我想在下载前使用一个随机目录页面,该页面将在一段时间内到期,这是怎么可能的