ң

copy

(PHP 3, PHP 4)

copy - .

int copy (string source, string dest)

. TRUE , , FALSE .

1. copy()
if (!copy($file, $file.'.bak')) { print ("failed to copy $file...<br>\n"); }

: PHP 4.3.0, source dest URL', "fopen-" . . fopen() .

!

, .

. move_uploaded_file() , rename() .


ң
clearstatcache delete