SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2001
    Location
    San Francisco
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    change/delete folder

    Hello - i am working on a server that's in safe mode, and having trouble renaming/deleting folders. I can create them, but no luck renaming or deleting them. Any ideas or workarounds? much appreciate the help!

    ian
    signature

  2. #2
    SitePoint Zealot Anagram's Avatar
    Join Date
    Feb 2003
    Location
    Norway
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please post such topics to the correct part of the forum.

    -thanks.

    *self-titulated vice-admin*
    If pigs could fly, the prize of bacon would reach the sky.

    www.dosspirit.net - Norwegian
    reviews of DOS games

  3. #3
    SitePoint Addict whofarted's Avatar
    Join Date
    Aug 2001
    Location
    lost, If you find me please return me to St.Louis
    Posts
    396
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $10 says you need to chmod the folder/file to 777.

    php.net seems to be down now or I'd give you a link to that function.

    It's pretty much something like this:
    PHP Code:
    chmod ('path/to/folder/'0777); 
    then you'll be able to have it rename delete etc. those files/folders
    You smell something?

  4. #4
    SitePoint Zealot
    Join Date
    Sep 2001
    Location
    San Francisco
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks - note: i think this is the correct area of the forum, though i should have been more specific in saying that I am trying to do this with PHP.

    interestingly enough, the folders were set to 777 - stumped. thanks for the help though.
    signature


Bookmarks

Posting Permissions

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