PDA

View Full Version : How do you get your server to handle file upload?




iphong
Jun 23, 2009, 03:36 PM
I try some PHP upload but it doesn't work on my server, but it worked on my hosted server.

Any ideas?



iphong
Jun 23, 2009, 03:46 PM
Ok never mind! It was the permission problem, forget to set my upload folder permission to 777.

belvdr
Jun 23, 2009, 04:47 PM
Ok never mind! It was the permission problem, forget to set my upload folder permission to 777.

Bad idea, generally speaking. I would only allow the web server to write to the directory, not read.