Maybe the problem is where $uploadinfo[servidores] is set? For exmaple,, if it's like this:
Code:
if (something)
{
...
$uploadinfo[servidores] = "servidores";
...
}
then if "something" is false it does not set $uploadinfo but leaves it at the previous value. So you would need to add:
Code:
if (something)
{
...
$uploadinfo[servidores] = "servidores";
...
}
else
{
$uploadinfo[servidores] = "";
}
This is a guess - I still don't understand.