Page 1 of 1

SOLVED Configuring PHP File Uploads

Posted: Tue Jul 27, 2010 11:10 am
by Faithe
My web server refuses file uploads. After a few days of research, I've concluded that the problem does not necessarily lie within my php.ini file. All the settings are, to my knowledge, as they should be (file_uploads, max_file_size, etc.). The error that is reported back to me is that the file can't be moved from it's original location. My code should be correct, as it's one I've used with success in previous years. This particular problem came about after the department switched to a new server. Unfortunately for me, my IS department refuses access to any of their settings unless you know exactly what you're looking for and can explain to them exactly how you won't break anything.

I'm looking for guidance on where to go from here, settings-wise, if my php.ini is set up optimally for file uploads. Are there more settings beyond PHP that could affect file uploads?

Re: Configuring PHP File Uploads

Posted: Tue Jul 27, 2010 11:11 am
by Benjamin
Tell them the temp directory needs write permissions.