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

Posted by jodleren on 01/08/08 07:37

On Jan 7, 8:38 pm, "Paul Lautman" <paul.laut...@btinternet.com> wrote:
> 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.

Well, since I only "move" some files (and directories) in a directory,
I do it by hand - I (may) need to keep my directory and (maybe) some
files in it.

Thanks
Sonnich

 

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

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