Ina Code Blog

bunch of code in one place
« Website for Gasilska enota Nova Gorica
Usefull links »


Mar
13

How to find your absolute server path

Posted by admin in tips
  1. Create new php file (let’s say you name it abspath.php).
  2. Insert this code in that file:

    <?php
    $abspath = getcwd();
    echo $abspath;
    ?>

  3. Upload the file with FTP to the root directory of your site.
  4. Run http://www.your-domain.com/abspath.php in browser and you will get your absolute server path.
[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

2 Responses to “How to find your absolute server path”

  1. Added by bluE on Sep at 19

    thanx a million, you just solved a problem that THREE of my hosts tech support people could not!

  2. Added by jukswebguy on Oct at 2

    Thanks man it helps…

Leave a Reply

Comment