hello,
if you are trying to copy a file you can use this :
copy ("/source/path/goes/here/something.ext","/destination/path/goes/here/otherthing.ext");
the function returns 1 on success or 0 on failure. if you are using windows the filenames should be something like
"c:\path\goes\here\something.whatever"
if you want to edit some of the file contents you can use this
$myfile=file("/path/goes/here/file.ext");
$myfile becomes a zero indexed array. Each of its elements holds one line of the input file
and if you dont want to mess with line numbers you can put all the file inside one string like this :
$size=filesize("/path/goes/here/file.ext");
$f=fopen("/path/goes/here/file.ext","r");
$myfile=fread($f,$size);
fclose($f);
$myfile becomes a string of length equal to the length of your file and contains all of its data.
hope these help ...