How to find your absolute path
Take notepad or any other text editor and insert:
<?php $p = getcwd(); echo $p; ?>
save as detection.php (or first as txt and rename to detection.php) and upload it to the root directory of your site with ftp. Run it as http://example.com/detection.php and you have your absolute path.