uploading error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

uploading error

Post by itsmani1 »

Warning: move_uploaded_file(../uploads/dde_n.gif): failed to open stream: Permission denied in /home/artologics/posters/admin/act_addproduct.php on line 64

Warning: move_uploaded_file(): Unable to move '/tmp/php8aCsX7' to '../uploads/dde_n.gif' in /home/artologics/posters/admin/act_addproduct.php on line 64

i am getting these 2 warning messages while uploading ????
how can i fix them????
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you do not have permission to write to ../uploads/dde_n.gif. This could be for several reasons.. such as you are not allowed to access folders outside your document root, the file already exists without write permission to php, etc.
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

i have uploading problem???
can any one fix it???
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

feyd wrote:you do not have permission to write to ../uploads/dde_n.gif. This could be for several reasons.. such as you are not allowed to access folders outside your document root, the file already exists without write permission to php, etc.
oki thanks man
its was because of permission :::
permission were set to uploads folder but were not set to root folder NOw its working::::
Post Reply