943,914 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 828
  • PHP RSS
May 2nd, 2009
0

need help in uploading images on the server

Expand Post »
Hi Guys,

I have a problem in uploading images on the server. I have tried on my localhost and its works fine, but when I upload on the server then file uploading doesn't work fine,file is not saving in the sarabase as well.

Please help me in this , thank you.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
coolmind259 is offline Offline
34 posts
since Apr 2009
May 2nd, 2009
0

Re: need help in uploading images on the server

Hi,

Please check your server's image folder permission. It should have 777.

Thanks.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
chetanrakesh is offline Offline
2 posts
since May 2009
May 4th, 2009
0

Re: need help in uploading images on the server

Hi, Thank you for your reply.

I have checked the server's image folder peormission it has 0777. is it ok?

Picture uploading is still not working. Please help.

take care.
Reputation Points: 10
Solved Threads: 0
Light Poster
coolmind259 is offline Offline
34 posts
since Apr 2009
May 4th, 2009
0

Re: need help in uploading images on the server

In your code change this line $HTTP_POST_FILES['image']['name'] to $_FILES['image']['name'] ..
Or check your folder path..
or post your required code...
Reputation Points: 137
Solved Threads: 162
Posting Virtuoso
Shanti C is offline Offline
1,641 posts
since Jul 2008
May 7th, 2009
0

Re: need help in uploading images on the server

I give you 99 out of a 100 that this is a permission problem on the temporary folder or final folder in which you are storing the uploaded files. Both folders must be writeable by "others". You can fix it by adding write permissions for others, with your ftp client, or else go to the shell and do "chmod o+x yourfolder".
Reputation Points: 10
Solved Threads: 0
Newbie Poster
eriksank is offline Offline
5 posts
since May 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: supplied argument is not a valid MySQL
Next Thread in PHP Forum Timeline: PHP - Send images to database, then desplay them





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC