???filter_var????URL,????FILTER_SANITIZE_URL??????????:
$url = 'http://example.com?name='; $cleanUrl = filter_var($url, FILTER_SANITIZE_URL); echo $cleanUrl;
???????:
http://example.com?name=
????URL?????,???????????????????URL?????????,?????????????????