954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

File upload problems

Hi

I am a newbie to php, having worked more in java. I am trying to write a php script to upload images to a directory. This works in windows but when I test it on a unix box, there seems to be no error message but the file does not get written into the directory.
I was wondering if someone could help me with this.

Thanks in advance
vijmen

vijmen
Newbie Poster
2 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

Permissions. 99% sure of it.

chmod 777 the directory you are trying to upload too.

techniner
Posting Pro
527 posts since May 2005
Reputation Points: 12
Solved Threads: 19
 

Hi techniner
Thanks for your response.
I managed to get it to work.
Thanks again
vijmen

vijmen
Newbie Poster
2 posts since Jul 2005
Reputation Points: 10
Solved Threads: 0
 

what was the problem?

namit
Light Poster
44 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You