Jump to content


Photo

should be simple


  • Please log in to reply
2 replies to this topic

#1 trillion

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?

<?php
rename ('dirname1','dirname2');
?>

gets permissions denied and chmod is 0777

#2 newb

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

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:

/home/alias/public_html/test


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