Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
$protocol = strpos(strtolower($_SERVER['SERVER_PROTOCOL']),'https')
=== FALSE ? 'http' : 'https';
$host = $_SERVER['HTTP_HOST'];
$script = $_SERVER['SCRIPT_NAME'];
$params = $_SERVER['QUERY_STRING'];
if(!$params=='') {$ques="?";}else {$ques='';}
$currentUrl = $protocol . '://' . $host . $script .$ques. $params;
echo $currentUrl;
<img scr="site/index.php" />