Snippets

Dan Bochichio Find Direct Path (Directory Location) on Server

Created by Dan Bochichio
1
2
3
4
5
<?php
$dir = dirname(__FILE__);
echo "<p>Full path to this dir: " . $dir . "</p>";
echo "<p>Full path to a .htpasswd file in this dir: " . $dir . "/.htpasswd" . "</p>";
?>

Comments (0)