|  | Posted by Luuk on 06/13/27 12:00 
"C. (http://symcbean.blogspot.com/)" <colin.mckinnon@gmail.com> schreef in bericht
 news:95db974c-57ba-419e-9ada-d9f4dcc98c92@u10g2000prn.googlegroups.com...
 
 >> try the example onhttp://nl3.php.net/manual/en/function.copy.php
 >> <?php
 >> $file = 'example.txt';
 >> $newfile = 'example.txt.bak';
 >>
 >> if (!copy($file, $newfile)) {
 >>     echo "failed to copy $file...\n";}
 >>
 >> ?>
 >
 > no - use move_uploaded_file() instead - RTFM
 >
 > C.
 
 it was the manual i quoted......
 OP was using copy() and was wondering why it did not work,
 not questioning himself if there was another (or better) option.
 
 ;-)
  Navigation: [Reply to this message] |