trillion Posted October 8, 2006 Share Posted October 8, 2006 This should be easy but I am stumped!How do I rename a directory?[code]<?phprename ('dirname1','dirname2');?>[/code]gets permissions denied and chmod is 0777 Quote Link to comment Share on other sites More sharing options...
newb Posted October 8, 2006 Share Posted October 8, 2006 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 Quote Link to comment Share on other sites More sharing options...
AliasXNeo Posted October 8, 2006 Share Posted October 8, 2006 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:[quote]/home/alias/public_html/test[/quote]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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.