rename function not working

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thygag
Forum Newbie
Posts: 3
Joined: Sun May 07, 2006 10:40 pm

rename function not working

Post by thygag »

I have a problem on rename function, it is not working on me, do you have any alternative for that? I need to copy the file from one directory to another and the change the filename...
Thanks...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Are you getting an error? (Remember to check your error logs.) If you did, what, exact, did you get?
thygag
Forum Newbie
Posts: 3
Joined: Sun May 07, 2006 10:40 pm

Post by thygag »

thanks for the reply but I already figure it out, the directory chmod must be 777 :)
User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

Post by dibyendrah »

I guess it is the problem of permission or ownership. isn't it ?
thygag
Forum Newbie
Posts: 3
Joined: Sun May 07, 2006 10:40 pm

Post by thygag »

yeah your right
Post Reply