Image Uploading Problem

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
haseebmaqsood
Forum Newbie
Posts: 15
Joined: Sat Jun 16, 2007 10:55 am

Image Uploading Problem

Post by haseebmaqsood »

Hi

I am having problem in uploading image.The path is not correct or some thing else.

Folder Hierarchy

Uploading Image

from this location

Software/cp/controlpanel.php

to

Software/resources_images/


Error Report:

/tmp/phpWcaqlM../resources_images/9.jpg
Warning: copy(../resources_images/9.jpg) [function.copy]: failed to open stream: Permission denied in /home/software/public_html/sdms/ctrlpanel/postresource.php on line 138


Kindly Correct the menstion path
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Image Uploading Problem

Post by Benjamin »

The folder you are attempting to write to does not have write permissions. You can chmod it via FTP or command line.
haseebmaqsood
Forum Newbie
Posts: 15
Joined: Sat Jun 16, 2007 10:55 am

Re: Image Uploading Problem

Post by haseebmaqsood »

Thanks
But i have all the privaleges

Kindly Ellaborate it more, I can't get your point
You can chmod it via FTP or command line
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Image Uploading Problem

Post by Benjamin »

Post Reply