I wrote out a script on my local test server that allows a user to upload a file, set some information about it, and insert the information into a database. The thing worked fine on my local test server(Windows machine, PHP5, MySQL4, Apache), but did not work at all on my MT Grid-Server (Linux machine, PHP5, MySQL4, Apache). I’ve narrowed the problem down to the file upload(everything else works great). I’ve checked the CHMOD settings for the upload folders, and they’re a go. I’m not sure what else the issue could be.
Unfortunately this isn’t a situation where I can show off my code, but I’m not doing anything other than using a File Form element(html) and some file vars($_FILE[‘filefield’][‘tmp_name’], etc…) So I can’t imagine that y’all would need to see it to help me diagnose the problem. I have a feeling it’s something on the MT(GS) side that’s funkin’ things up.
Anybody got any ideas on what I could check? What settings should be in place for a file upload(averaging from 2.5mb to 7mb) to work?