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.
hellfire каза:как се вижда пътя до файла тоест примерно файла е в една папка
как да взема името да папката
$_SERVER['ne6u'];
как точно ?
hellfire каза:ехе мерси
имаше нещо DOCUMENT_PATH или нещо от тоя сорт но т'ва е чудесно :-]
<?php
$razd = strstr(PHP_OS, "WIN") ? "\\" : "/";
$path = getcwd();
$arr = (preg_split("|$razd\|", $path));
echo end($arr);
?>