?PHP?,????urlencode()???urldecode()?????URL?????????
- URL??:
$url = "https://www.example.com/?name=??&age=25"; $encoded_url = urlencode($url); echo $encoded_url;
- URL??:
$encoded_url = "https://www.example.com/?name=张三&age=25"; $decoded_url = urldecode($encoded_url); echo $decoded_url;
?????,urlencode()?????URL????,urldecode()??????????URL?????