rename

(PHP 3, PHP 4 )

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.