Attempts to rename oldname to newname.
Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.
Megjegyzés: Prior to PHP 4.3.3, rename() could not rename files across partitions on *nix based systems.
Megjegyzés: As of PHP 5.0.0 rename() can also be used with some URL wrappers. Refer to L Függelék for a listing of which wrappers support rename().
Megjegyzés: The wrapper used in oldname MUST match the wrapper used in newname.
Megjegyzés: A context támogatása a PHP 5.0.0 változattól felfele érhető el. A conext-ek leírását itt találod: CXXIX, Stream Functions Referencia .
See also copy(), unlink(), and move_uploaded_file().