Big guys
The URL link is as follows https://www.baidu.cn/?d&b_scene_zt=1&renqun_youhua=375297
How to Get the first one? What about the following parameters
$test = parse_url("http://localhost/index.php?name=tank&sex=1#top");print_r($test);
试试
试一下
$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).'';
$test = parse_url("http://localhost/index.php?name=tank&sex=1#top");print_r($test);
试试
试一下
$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).'';