You 'll see that this is done in both the previous listings , with PHP 's urlencode () method .
在前面的清单中,您应该已经看到,URL编码是通过PHP的urlencode()方法完成的。