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]

Leave a Reply

Comment