Jump to content


should be simple

  • Please log in to reply
2 replies to this topic

#1 trillion

  • Members
  • PipPipPip
  • Advanced Member
  • 41 posts

Posted 08 October 2006 - 04:11 AM

This should be easy but I am stumped!

How do I rename a directory?

rename ('dirname1','dirname2');

gets permissions denied and chmod is 0777

#2 newb

  • Members
  • PipPipPip
  • Advanced Member
  • 454 posts

Posted 08 October 2006 - 04:54 AM

ur using the right php syntax so make sure its the right path and if it is then its something with the server ur on

#3 AliasXNeo

  • Members
  • PipPip
  • Member
  • 11 posts

Posted 08 October 2006 - 05:14 AM

Double check the chmod, and try to supply full file paths rather then local ones. For instance a full file path for me would be:


If that doesn't work I would look at the specifics of the directory, or if this is on a remote server talk to your host.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users