Change Theme

Change Font Size

decrease size increase size

Search


Absolute Path


First, create a new PHP file. For example: test.php

Put these codes inside the file:

<?php
$absolutePath = realpath
(dirname(__FILE__));
echo $absolutePath;
?>

Save it, and then upload it to the folder you want to find the absolute path of.

Type the address of the file you just uploaded. For example:
http://yoursite.com/test.php

And you will get something like this:
/home/username/public_html/folder

That’s all there is to it.



Leave a Comment
(will not published)
Bold Underlined Italics Quote Ext Link
:biggrin: :blank: :blush: :confused: :cool: :cute: :dead: :evil: :frown: :ouchies: :secret: :shock: :smile: :stress: :upsidedown: :wink: :yawn: :yell: :yuck: :yummy: :tv: :music: :heart: :drink: :floppy: :ahh: :aww: :duh: :eww: :grr: :hmm: :yay: :wtf: :wow: :umm: :omg: :lol: :huh: :blah: :haha: :hehe: :sigh: :rofl: :pssh: :ouch: :muah: :lmao: :iheartu:
* indicates required field