file copy

A

Anonymous

Guest
i want to copy a zip file from a directory to a directory. if you have any sample pls write me. thanks
 
ohh.. what did i tell everyone: Read The Manual..
PLEASE make a search at php.net before posting question and sometimes google search is usefull as well...
 
yeah: pretty easy solution huh?
Who wouldve guessed that copy function would be calles copy();

:) but please read the manual before posting..
 
I meaned

Code:
<?php
$srcfile = "path/filename";
$dstfile = "path/filename";
copy($srcfile,$dstfile);
?>
 
Back
Top