Actions

How to find your absolute path

From Joomla! Documentation

Revision as of 07:42, 2 August 2008 by Erdsiger (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.