Use rename() to Rename a File or Directory

Use rename() to Rename a File or Directory

The rename() function renames a file or directory. This is useful for changing file and directory names.

← Back to Tips List