您的位置: 首页 > IT文章 > PHP提取url PHP提取url 分类: IT文章 • 2025-01-12 09:41:43 <?php $str = parse_url('http://localhost/?id=2&cd=2', PHP_URL_QUERY); ECHO $str; parse_str($str, $cc); print_r($cc);