How to find your absolute path: Difference between revisions

From Joomla! Documentation

Erdsiger (talk | contribs)
New page: Take notepad or any other text editor and insert: <source lang="php"> <?php $p = getcwd(); echo $p; ?> </source> save as detection.php (or first as txt and rename to detection.php) ...
 
Wilsonge (talk | contribs)
Delete page and redirect to constants. the 1.5+ code is duplicate of that page and 1.0 is redundant
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Take notepad or any other text editor and insert:
#REDIRECT [[Constants]]
 
<source lang="php">
<?php
  $p = getcwd();
  echo $p;
?>
</source>
 
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.

Latest revision as of 17:15, 2 April 2020

Redirect to: