DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   File upload problems (http://www.daniweb.com/forums/thread29033.html)

vijmen Jul 26th, 2005 8:00 am
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

techniner Jul 26th, 2005 10:24 am
Re: File upload problems
 
Permissions. 99% sure of it.

chmod 777 the directory you are trying to upload too.

vijmen Jul 26th, 2005 10:53 am
Re: File upload problems
 
Hi techniner
Thanks for your response.
I managed to get it to work.
Thanks again
vijmen

namit Jul 29th, 2005 5:14 am
Re: File upload problems
 
what was the problem?


All times are GMT -4. The time now is 12:13 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC