2014年3月19日

PHP:urlencode

摘要: urlencode是用于对字符串进行编码,使得所有字符都能被放入url中,而不会被解析器误解。正如html中的这样的符号是标记符,如果正文中存在', '.', '/', '\'', '"', '\\', '+', '%', '#', '$', '@');foreach ($testCase as $case) { echo $case."\turlencode:".urlencode($ca 阅读全文

posted @ 2014-03-19 17:53 awildfish 阅读(395) 评论(0) 推荐(0) 编辑

导航