, PHP
» PHP 5 » ,
, . -.
(), . : ( 11.9).
11.9.
‹?php
//
copy ("info.txt", "files/log.txt") or die (" ");
?›
info.txt files log.txt. , . - , FALSE, - TRUE.
unlink(), 11.10.
11.10.
‹?php
//
unlink ("info.txt") or die (" ");
?›
, , . info.txt , .
( ) rename(). ( 11.11).
11.11.
‹?php
//
rename ("files/log.txt", "info.txt") or die (" ");
?›
, , (), info.txt , FALSE.