Page 1 of 1

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

Posted: Thu Sep 27, 2007 4:36 am
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?

Posted: Thu Sep 27, 2007 8:21 am
by feyd
Yes, yes, and no.

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