PHP 获取 URL 参数值
要从 URL 中获取参数值,可以使用 PHP 的 $_GET 超全局变量。在给定的 URL 中,您可以使用以下代码来获取参数值:
$url = $_GET['url'];
echo $url;
这将输出:https://yun.ssberry.com/yunbox/?type=vxcd&vid=1075_0b53tg3qzraamiafsr2lqjsdhgiebt2aaxca&referer=https://www.lmm1.com/play/5761_1_1.html
如果您想获取其他参数的值,您可以在相同的方式下使用 $_GET 超全局变量。
原文地址: http://www.cveoy.top/t/topic/b115 著作权归作者所有。请勿转载和采集!