When i'm trying to upload an image, gives me this error:
Warning: copy(images/10178674.jpg) [function.copy]: failed to create stream: Permission denied in /var/www/htdocs/work/temporar/imageclass.php on line 61
How can i fix this?
[SOLVED]Cannot upload an image
Moderator: General Moderators
-
fastfingertips
- Forum Contributor
- Posts: 242
- Joined: Sun Dec 28, 2003 1:40 am
- Contact:
[SOLVED]Cannot upload an image
Last edited by fastfingertips on Wed Jul 28, 2004 5:22 am, edited 1 time in total.
-
fastfingertips
- Forum Contributor
- Posts: 242
- Joined: Sun Dec 28, 2003 1:40 am
- Contact:
I'v changed the copy function with the move one and now i'm getting:
Warning: move_uploaded_file(var/www/htdocs/work/temporar/images/10178674.jpg) [function.move-uploaded-file]: failed to create stream: No such file or directory in /var/www/htdocs/work/temporar/imageclass.php on line 60
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpeNbesq' to 'var/www/htdocs/work/temporar/images/10178674.jpg' in /var/www/htdocs/work/temporar/imageclass.php on line 60
Warning: move_uploaded_file(var/www/htdocs/work/temporar/images/10178674.jpg) [function.move-uploaded-file]: failed to create stream: No such file or directory in /var/www/htdocs/work/temporar/imageclass.php on line 60
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpeNbesq' to 'var/www/htdocs/work/temporar/images/10178674.jpg' in /var/www/htdocs/work/temporar/imageclass.php on line 60
-
fastfingertips
- Forum Contributor
- Posts: 242
- Joined: Sun Dec 28, 2003 1:40 am
- Contact: