Convert the URL to an incomprehensible encoding_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:23:23
Original
1169 people have browsed it


www.*****.com/ěЁňЙáД/ЖПЗЩ/mgqg/
What encodings are used to convert these two?
Does PHP have this conversion function?


Reply to discussion (solution)

$s = '%C4%9B%D0%81%C5%88%D0%99%C3%A1%D0%94%EE%9F%87/%D0%96%D0%9F%D0%97%D0%A9';echo $t = urldecode($s);echo urlencode($t);
Copy after login
Copy after login
Copy after login
Copy after login

ěЁ?ЙáД?/ЖПЗЩ
ěЁňЙáД/ЖПЗЩ

var url = "param=你好";var encodeUrl =  escape(url);var decodeUrl = unescape(encodeUrl);
Copy after login

$s = '%C4%9B%D0%81%C5%88%D0%99%C3%A1%D0%94%EE%9F%87/%D0%96%D0%9F%D0%97%D0%A9';echo $t = urldecode($s);echo urlencode($t);
Copy after login
Copy after login
Copy after login
Copy after login

ěЁ?ЙáД?/ЖПЗЩ
ěЁňЙáД/ЖПЗЩ
Sorry, I didn’t ask clearly. I want to convert other URL links into this encoding,
For example, how to convert any other address: http://www.****.com/list-1-Danfoss.html into such an address,
and (ěЁ?ЙáД?/ЖПЗЩ) these What encoding is

How to convert other URL links into this encoding,

re

Others refer to other people’s websites, or what?

Whatever The URL is not fixed to a certain

. How can other URL links be converted into this encoding?

re

Are the others referring to other people’s websites, or what?
Whatever What URL? No fixed one

You don’t want to manually urlencode the links in the website


$s = '%C4%9B%D0%81%C5%88%D0%99%C3%A1%D0%94%EE%9F%87/%D0%96%D0%9F%D0%97%D0%A9';echo $t = urldecode($s);echo urlencode($t);
Copy after login
Copy after login
Copy after login
Copy after login

ěЁ?ЙáД?/ЖПЗЩ
ěЁňЙáД /ЖПЗЩ
Sorry, my question is not clear. I want to convert other URL links into this encoding,
For example, any other address: http://www.****. How to convert com/list-1-Danfoss.html to such an address?
And (ěЁ?ЙáД?/ЖПЗЩ) what are the codes?

And (ěЁ?ЙáД?/ЖПЗЩ) these What encoding are these garbled codes? When transcoding, specify the transcoding format, such as utf-8 or gb2313 or GBK



$s = '%C4%9B%D0%81%C5%88%D0%99%C3%A1%D0%94%EE%9F%87/%D0%96%D0%9F%D0%97%D0%A9';echo $t = urldecode($s);echo urlencode($t);
Copy after login
Copy after login
Copy after login
Copy after login

ěЁ?ЙáД?/ЖПЗЩ
ěЁňЙáД/ЖПЗЩ
Sorry, I didn’t ask clearly. I want to convert other URL links into this encoding,
For example, any other address: http://www.*** How to convert *.com/list-1-Danfoss.html to such an address,
and (ěЁ?ЙáД?/ЖПЗЩ) what codes are these?

and (ěЁ?ЙáД?/ЖПЗЩ) ) What encoding are these? These garbled codes, please specify the transcoding format when transcoding, such as utf-8 or gb2313 or GBK
I don’t know what encoding it is. So I am asking. Do not fix a certain link or format

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