url_encode()
??? PHP ?????????????? URL ??,????????(Percent-encoding)???????????????? URL ?????????
????? URL ???????????,???????????,????? URL ????????????????????,????? url_encode()
?????????
??????????:
$string = "Hello, World!"; $encoded_string = urlencode($string); echo $encoded_string; // ??:Hello,+World!
??????,url_encode()
??????????(+),???????????????? ASCII ?????(, ? !)???,????????? URL ????????