📌  相关文章
📜  获取不带查询字符串的 url php 代码示例

📅  最后修改于: 2022-03-11 14:53:36.225000             🧑  作者: Mango

代码示例1
// get the url before the first occurence of "?"
$url = strtok($_SERVER["REQUEST_URI"], '?');