Create a .php page and paste in the following snippet:
<?php $path = pathinfo($_SERVER['SCRIPT_FILENAME']); echo $path['dirname']; ?>
Upload the page to your server to the folder you need the path for and view in your browser; the absolute path will be shown.



Recent Comments