★ wanayoo — archive 1999 http://uk.php.net/manual/hu/function.copy.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Filerendszer
Quick Reference
Filerendszer
English version of this pageGerman version of this pageJapanese version of this page
Italian version of this pageFrench version of this pageHungarian version of this page
Spanish version of this page
* basename
* chgrp
* chmod
* chown
* clearstatcache
* copy
* delete
* dirname
* diskfreespace
* fclose
* feof
* fgetc
* fgetcsv
* fgets
* fgetss
* file
* file_exists
* fileatime
* filectime
* filegroup
* fileinode
* filemtime
* fileowner
* fileperms
* filesize
* filetype
* flock
* fopen
* fpassthru
* fputs
* fread
* fseek
* fstat
* ftell
* ftruncate
* fwrite
* set_file_buffer
* is_dir
* is_executable
* is_file
* is_link
* is_readable
* is_writeable
* link
* linkinfo
* mkdir
* pclose
* popen
* readfile
* readlink
* rename
* rewind
* rmdir
* stat
* lstat
* realpath
* symlink
* tempnam
* touch
* umask
* unlink

  Thanks to:
 Chek.com
 easyDNS
 VA Linux Systems

  Related sites:
Apache
MySQL
PostgreSQL
Zend Tech.

  Community:
LinuxFund.org
OSDN
Manual: copy
View the source code for this pageSearch the site



Previous page
 clearstatcache
 Updated
Mon, 21 Aug 2000
delete 
Next page


copy

(PHP3 , PHP4 )

copy -- Copy file

Description

int copy (string source, string dest)

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

Példa 1. copy() example


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

See also: rename().


 About Notes


Previous page
 clearstatcache
 Updated
Mon, 21 Aug 2000
delete 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United Kingdom
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.