How to make the Cyrillic readable in the HTTP_REFERER?

0 like 0 dislike
I have a PHP-handler for sending applications in the mail, it is the element .@$_SERVER['HTTP_REFERER']. to specify the link from which the client came.

Part of this link is in Cyrillic (dynamic utm-tags). In this mail link comes the following:

Is it possible to do to get the email link displayed in Cyrillic or "on the fly" converted into transliteration?
by | 173 views

2 Answers

0 like 0 dislike
$str = ''; print urldecode($str);ТЕСТ
0 like 0 dislike
instead of putting in the body of the email text link, put its html incarnation
the text that will be visible in the letter, underlined as a link
in the text you can write anything you want, lisch headers and head match the encoding

Related questions

110,608 questions
257,187 answers
40,796 users