|
Posted by Paul Lautman on 01/07/08 18:38
The Natural Philosopher wrote:
> jodleren wrote:
>> While reading php.net I found
>>
>> " bool copy ( string $source , string $dest [, resource $context ] )
>> Makes a copy of the file source to dest .
>> If you wish to move a file, use the rename() function. "
>>
>> .... what? rename can move a file...?
> Well it moves the directory entry, which amounts to the same thing,
> unless its across a partition boundary, when it is smart enough to do
> a copy instead.
A copy and a delete I would hope.
Navigation:
[Reply to this message]
|