Rename a filename using PHP

by guruprasad 2013-10-23 15:37:35

To Rename the file name:

If a file has name oldname.txt and has to be changed to new name,

rename("file:///opt/lampp/htdocs/oldname.txt", "file:///opt/lampp/htdocs/newname.txt");
835
like
0
dislike
0
mail
flag

You must LOGIN to add comments