From: talk_to_me at unforgiver dot net Operating system: Windows XP PHP version: 4.3.1 PHP Bug Type: *Directory/Filesystem functions Bug description: win xp && iis 5 - copy() && unlink();
When I'm trying to copy few files: $elmenets = array(); $elements[0] = 'some_file_1'; $elements[1] = 'some_file_2'; $elements[2] = 'some_file_3'; $elements[3] = 'some_file_4'; $elements[4] = 'some_file_5'; for ($i=0; $i<count($elements); $i++) { $copied = @copy($some_path.$elemets[$i],$some_path2.$elemets[$i]); } files are always copied but $copied sometime return true, sometime return false. Same thing is when try to unlink files with the same method. When remove '@' there is no error. Permissions for directories are OK. -- Edit bug report at http://bugs.php.net/?id=22951&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22951&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22951&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22951&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22951&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22951&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22951&r=support Expected behavior: http://bugs.php.net/fix.php?id=22951&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22951&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22951&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22951&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22951&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22951&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22951&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22951&r=gnused