★ wanayoo — archive 1999 http://fr.php.net/manual/kr/function.copy.phpNouvelle recherche | Portail wanayoo
PHP Sunday, March 11, 2001  
downloads | documentation | faq | support | reporting bugs | links 

search for in the  

lookup:
PHP 설명서PHP 설명서
FilesystemFilesystem
 basenamebasename
 chgrpchgrp
 chmodchmod
 chownchown
 clearstatcacheclearstatcache
 copycopy
 deletedelete
 dirnamedirname
 diskfreespacediskfreespace
 fclosefclose
 feoffeof
 fflushfflush
 fgetcfgetc
 fgetcsvfgetcsv
 fgetsfgets
 fgetssfgetss
 filefile
 file_existsfile_exists
 fileatimefileatime
 filectimefilectime
 filegroupfilegroup
 fileinodefileinode
 filemtimefilemtime
 fileownerfileowner
 filepermsfileperms
 filesizefilesize
 filetypefiletype
 flockflock
 fopenfopen
 fpassthrufpassthru
 fputsfputs
 freadfread
 fscanffscanf
 fseekfseek
 fstatfstat
 ftellftell
 ftruncateftruncate
 fwritefwrite
 set_file_bufferset_file_buffer
 is_diris_dir
 is_executableis_executable
 is_fileis_file
 is_linkis_link
 is_readableis_readable
 is_writableis_writable
 is_uploaded_fileis_uploaded_file
 linklink
 linkinfolinkinfo
 mkdirmkdir
 move_uploaded_filemove_uploaded_file
 pclosepclose
 popenpopen
 readfilereadfile
 readlinkreadlink
 renamerename
 rewindrewind
 rmdirrmdir
 statstat
 lstatlstat
 realpathrealpath
 symlinksymlink
 tempnamtempnam
 tmpfiletmpfile
 touchtouch
 umaskumask
 unlinkunlink

previousclearstatcache
deletenext

Last updated: Mon, 22 Jan 2001
view this page in English | Brazilian Portuguese | Dutch | French | German | Hungarian | Italian | Japanese | Korean | Spanish | Plain HTML

copy

(PHP 3, PHP 4 )

copy — Copies file

Description

int copy (string source, string dest)

Makes a copy of a file. Returns true if the copy succeeded, false otherwise.

Example 1. Copy() example


if (!copy($file, $file.'.bak')) {
    print ("failed to copy $file...<br>\n");
}
      

See also: rename().

previousclearstatcache
deletenext

Last updated: Mon, 22 Jan 2001
add note | about notes

show source | credits | mirror sites:  

Copyright © 1998-2001 The PHP Group
All rights reserved.
This mirror generously provided by: L'Université Michel de Montaigne Bordeaux III
Last updated: Sun Mar 11 06:01:27 2001 MET