php如何根据来路跳转

发布日期:2025-11-28 19:50:27 阅读:0

'';// 根据来路跳转到不同页面if ($referer === 'https://www.example.com/page1.php') { header("Location: https://www.example.com/page2.php"); exit; // 确保跳转后终止脚本执行} elseif ($referer === 'https://www.example.com/page3.php') { header...

评论列表
暂无评论,来说两句吧~
相关推荐