I have a website which works fine on my dev server, however once moved to a clients server it doesn't work correctly.
I have a form that allows the client to upload files/images/video etc to the website.
now the site is live on the clients server, he cannot upload images etc... I made the upload folder write enabled, but it still did not work.
After some investigation, it turns out that $_FILES['file'[['name'] is blank... even when a file is uploaded, so my script doesn't try to do anything with the file because it thinks there isn't one.
The form has text fields as well as file upload, and the script deals with the form in a single pass.
Is this something to do with accessing other data from the form before getting the file array?
weird how the exact same code works on my dev server...
thanks for the replies. I can confirm that the textual data is passed through and updates the database fine.
the 2 servers are slightly different versions of php,
dev: php 5.3.10
client: php 5.2.16