Hi!
I got a problem with uploading pictures. Using a script following this
schema:

if (is_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'])) {
    copy($HTTP_POST_FILES['userfile']['tmp_name'],
"/place/to/put/uploaded/file");
} else {
    echo "Possible file upload attack. Filename: " .
$HTTP_POST_FILES['userfile']['name'];

 the script always returns:
Warning: Unable to create '/*.jpg': Permission denied in fotos2.php on
line 62

I do not understand why that happens. Do I need to include a password
somewhere or somehitng like that? Thank you for your help!
Oliver



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to