a Quick Question

Discussion in 'Web Design and Development' started by MacEffects, Mar 28, 2006.

  1. MacEffects macrumors 6502

    Joined:
    Apr 21, 2005
    Location:
    Darkspear
    #1
    Hello Everyone,
    Okay here is the deal I have DreamHost service my ID login is mjozaitis password: likeidtellyou :p and I have a site skasites.com, now I need to know the Direct Path I know (or at least I think I know) the last part of the path is /mjozaitis/~skasites.com but again I am unsure, but I know there is a lot more then this. Please Help, I need to know ASAP.

    Thanks for your help!
     
  2. reh macrumors 6502a

    Joined:
    Oct 24, 2003
    Location:
    Arkansas
    #2
    The path is username/domain (just remove the ~ in your post). If you're uploading files or something via FTP, you should be able to just use your domain name.
     
  3. mnkeybsness macrumors 68030

    mnkeybsness

    Joined:
    Jun 25, 2001
    Location:
    Moneyapolis, Minnesota
    #3
    There's more to it than that...

    To find out your full path, make a page 'test.php' and place it in your domain's directory. In the file, place the following code and then visit /test.php in your browser. You should be able to find the full path this way.

    Code:
    <?php echo realpath('test.php'); ?>
    Note: on Dreamhost, it should be something like...

    Code:
    /home/.something/username/domain
     
  4. NoNameBrand macrumors 6502

    Joined:
    Nov 17, 2005
    Location:
    Halifax, Canada
    #4

    the '.something' isn't needed, the server will find your stuff with /home/username/domain/
    (I am hosted on Dreamhost). The '.something' is the name of the particular fileserver that the server is talking to at the moment and can change.
     

Share This Page