is it possible to change file/directory name on unix site

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
hello3003
Forum Newbie
Posts: 3
Joined: Thu Sep 27, 2007 4:10 am

is it possible to change file/directory name on unix site

Post by hello3003 »

is it possible to change file/directory name on unix site by php code? copy files from one directory to another?

if yes, could you give me php/script code sample?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Yes, yes, and no.

Look at copy(), rename(), mkdir() and their siblings.
Post Reply