rename

(PHP3 , PHP4 )

rename -- Renames a file

Description

int rename (string oldname, string newname)

Attempts to rename oldname to newname.

Returns true on success and false on failure.