I'm stumped here and having issues with the editors Image upload. When I tested locally on my machine it did all what it was supposed to. But I upload it to a live server it fails and I get 'Invalid file'. I pretty much broke it down that $_FILES['NewFile'] is returning nothing at all now.
Here:
// Check if the file has been correctly uploaded.
if ((!isset( $_FILES['NewFile'])) || (is_null( $_FILES['NewFile']['tmp_name'])) || ($_FILES['NewFile']['name'] == '')){
SendResults( '202' ) ;
}
Now I am basically clueless to why this is happening. The server is all ok, file upload whatever. If anyone has any ideas what is going on here. I would love some input.
Using the php connector.
Here:
// Check if the file has been correctly uploaded.
if ((!isset( $_FILES['NewFile'])) || (is_null( $_FILES['NewFile']['tmp_name'])) || ($_FILES['NewFile']['name'] == '')){
SendResults( '202' ) ;
}
Now I am basically clueless to why this is happening. The server is all ok, file upload whatever. If anyone has any ideas what is going on here. I would love some input.
Using the php connector.

RE: Odd upload issues
RE: Odd upload issues
Like I said everything is in order. Been doing this kind of work for years and know what to look for. Just a pain when the scripting is not your own. The issue can be anywhere.
RE: Odd upload issues
RE: Odd upload issues
Thanks though for replying. Is appreciated.
So it seems no one really knows.
So, I may just need to recode it if no answers can be found as I have seen a few posts on upload issues.