Using this code
<snip>
<?php
if (is_uploaded_file($userfile)) {
         echo $userfile;
    copy($userfile, "/www/workbox/htdocs/audio");
} else {
    echo "Possible file upload attack: filename '$userfile'.";
}

?>
</snip>

I keep getting the following error. the directory exists and is chmoded to
777, what am I doing wrong ?
Warning: Unable to create '/www/workbox/htdocs/audio': Is a directory in
/www/workbox/htdocs/upload.php on line 4

Jerry Lake            - [EMAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online     - http://www.pacifier.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to