You have write access, but does the webserver have write access? The webserver runs as a separate user for security reasons.
Another problem may be with your paths
PHP Code:
$source = "c:\windows";
will not work, \ is the escape character. you need to do
PHP Code:
$source = "c:\\windows";
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --