rename

(PHP 3, PHP 4 )

rename -- ファイルをリネームする

説明

int rename (string oldname, string newname)

oldnameを newnameにリネームしようと試みっY。

成功するとtrue、失敗するとfalseを返します。