The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Issue creating path when testing using virtual path (~username)

Discussion in 'General Discussion' started by ggriffit, May 2, 2007.

  1. ggriffit

    ggriffit Registered

    Joined:
    Feb 13, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    We are trying to run the following script on a website that we do not have live yet. Therefore we are viewing the site using www.servername.com/~username

    The issue is that the folder does not get created.

    I am thinking this is due to either a permission issue or something. Can someone give me an idea on how to get this resolved? I would think it should work just as if they were running with a domain name???

    Code sniplet:
    PHP:
    //    CREATE FOLDER FOR PHOTOS
    $dir_name getcwd() . "/../" "photos$nextHighest";
    mkdir$dir_name0755 );
    echo 
    "&status=ok&";
     
Loading...

Share This Page