http://example.com/geturl.php?url=http://example.org/index.php?parafile=1698%3A1562%3A0%3A0¶_action=print_ticket¶file=dance://here.kodas/print&token=3ec2b0d3e6e0ca152bc024cc3f30f16c
所以我希望geturl.php文件中的每个参数都在不同的变量中。我正在使用常规获取网址
答案 0 :(得分:1)
您可以使用以下任何内容:
$url = "http://example.com/geturl.php?url=".urlencode($urlPart);
答案 1 :(得分:0)
$ _ server [QUERY_STRING]解决了我的问题