создание и продвижение сайта (вбиваю в ТОП-10, как гвозди)Настройка и сопровождение платной рекламы яндекс.директ

Проверка полного пути до корня сервера (применяется в файле .htaccess)

<?$d=dirname(__FILE__);echo"<p>Full path to this dir: ".$d."<p>Full path to a .htpasswd file in this dir: ".$d."/.htpasswd"?>

Full path to this dir: /home/vhosts/podolsk.xp3.biz/ph

Full path to a .htpasswd file in this dir: /home/vhosts/podolsk.xp3.biz/ph/.htpasswd

Посмотреть можно вот тут: htaccesstools.com/articles/full-path-to-file-using-php.

Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.

Ваше письмо×
Free Web Hosting