I'm uploading file and use this
copy($_FILES['NewImage']['tmp_name'], 'temp/'.$item_number.'.jpg') or die (mysql_error());*
*I have this Warning:*
Warning*: copy(temp/05V0115.jpg): failed to open stream: Permission denied in */var/www/html/afan/admin/add_image.php* on line *12
*
chmods:
admin 0755
temp 0777
admin/ |_temp/ |_add_image.php
What could cause this Warning? Can't find a problem.
thanks for any help
-afan
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php