$from_path="empresa1/interface6";
$to_path="empresa".$wEmpresa."/interface6";
if (is_dir($from_path)) {
chdir($from_path);
$handle=opendir('.');
while (($file = readdir($handle))!==false) {
if (($file != ".") && ($file != "..")) {
if (!copy($from_path.$file, $to_path.$file)) echo "no se pudo copiar";
}
}
closedir($handle);
}
Me sale este mensaje :
"Warning: Unable to open 'empresa1/interface6/a_s.jpg' for reading: No such file or directory "
Ayuda please
