You are here: Re: copy/move files.. « PHP Programming Language « IT news, forums, messages
Re: copy/move files..

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация