|  | 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] |