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

Recommended Answers

All 3 Replies

Permissions. 99% sure of it.

chmod 777 the directory you are trying to upload too.

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

what was the problem?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.