There is a code:
<h1 align='center'><a href='http://".$_SERVER['HTTP_HOST'].@dirname($_SERVER['REQUEST_URI'])."/'>Вход на сайт</a></h1>
When you point to a link, the address appears:
http://site.ru\/
and of course the link does not work. What is the problem?