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 Link to comment https://forums.phpfreaks.com/topic/23327-should-be-simple/ 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 Link to comment https://forums.phpfreaks.com/topic/23327-should-be-simple/#findComment-105764 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. Link to comment https://forums.phpfreaks.com/topic/23327-should-be-simple/#findComment-105767 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.