Big guys
URL 링크는 다음과 같습니다 https://www.baidu.cn/?d&b_scene_zt=1&renqun_youhua=375297
첫번째는 어떻게 구하나요? 다음 매개변수는 어떻습니까?
对方正在输入....2021-09-10 17:27:52
$test = parse_url("http://localhost/index.php?name=tank&sex=1#top");print_r($test);
试试
灭绝师太2021-04-20 10:11:57
试一下
$url = "https://www.baidu.cn/?d&b_scene_zt=1&renqun_youhua=375297";echo parse_url($url)['query'];$str = explode("&",parse_url( $url)['query']);
echo '<pre>'.print_r($str,true).'';