Home > Backend Development > PHP Tutorial > 怎么将英文和数字urlencode

怎么将英文和数字urlencode

WBOY
Release: 2016-06-13 12:42:43
Original
956 people have browsed it

如何将英文和数字urlencode
如果简单使用urlencode

英文和数字并不会被编码而是直接跳过.

比如
'AAAAA中文22222'
编码后
'AAAAA%D6%D0%CE%C422222'

实际上AAAAA我希望编码成
%41%41%41%41%41

22222
编码成
%32%32%32%32%32

之类的

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template