Results 1 to 4 of 4
  1. #1

    Need to fin the path

    Hi,
    I need to find the absolute path to a directory on one of my domains hosted on my server.

    Anyone know how?

    Thanks

  2. #2
    Join Date
    Apr 2002
    Location
    UK
    Posts
    429
    With what? PHP?

  3. #3
    With my FTP program or Telnet

  4. #4
    Join Date
    Apr 2002
    Location
    UK
    Posts
    429
    If your FTP program doesn't tell you already I'm not sure how you'd find out via that.

    If you can run PHP, you could upload a file like this to the directory:

    PHP Code:
    <?
    echo dirname(__FILE__);
    ?>
    Then call it from the browser and it should return the absolute path to that file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •