gpt4 book ai didi

php - 将 base_url() 添加到 header

转载 作者:可可西里 更新时间:2023-10-31 22:11:38 24 4
gpt4 key购买 nike

是否有可能有类似下面但实际有效的东西?

header('location: base_url(). page.php?x=3'); 

最佳答案

尝试:

header('Location: ' . base_url() . '/page.php?x=3'); 

关于php - 将 base_url() 添加到 header ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23151989/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com