mkdir help Prosper Learning

Discussion in 'PHP' started by prosperlearning, Dec 6, 2006.

  1. #1
    Hi

    I am a tech work for Prosper Learning and I have a question:

    I have just realized that I can't create a folder on the host using mkdir. The code works fine on my localhost.

    I guess it might be something with setting of the host to prevent users from creating a directory.

    Any ideas?

    Thank you,

    All the Best, Prosper Learning
     
    prosperlearning, Dec 6, 2006 IP
  2. rgchris

    rgchris Peon

    Messages:
    187
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can always try sudo.
     
    rgchris, Dec 6, 2006 IP
  3. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Do you have a normal user or root account? Any error when trying to make the directory (permission denied)?
     
    CodyRo, Dec 6, 2006 IP
  4. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #4
    try chmoddin the root dir of the script to 777
     
    krakjoe, Dec 6, 2006 IP
  5. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #5
    If you are trying to create directories in "members", chmod "members" to 777.

    Not sure that will work if you are trying to create them in the main public_html portion of the site. It should work as shown above.
     
    Colbyt, Dec 6, 2006 IP