Welcome Guest, Not a member yet? Register   Sign In
Rename function not working
#1

[eluser]reyntjensw[/eluser]
I'm trying to rename a file that's in my images folder. So I'm using rename
Code:
rename(realpath("../images/sky2.jpg"),realpath("../images/sky3.jpg"));

The file exists in my folder and has all permissions, (I did a chmod 777).
I'm also able to upload images in that folder so the folder (I think) isn't the problem.

Anyone with ideas?

Thanks


Messages In This Thread
Rename function not working - by El Forum - 05-17-2010, 03:10 PM
Rename function not working - by El Forum - 05-17-2010, 04:17 PM
Rename function not working - by El Forum - 05-18-2010, 03:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB