gracias, una parte ya lo solucione.... lo unico que me queda es retocarlo... hay un array al final con la clave 0 y esta vacio... y me gustaria quitarlo.
el codigo final es:
Código PHP:
Ver original//Definimos los estados de los archivos
$status = array(0 => "Unprocessed", 1 => "Processing",
2 => "Download aborted because the file became too big.",
3 => "Download aborted because the file downloaded too long.",
4 => "Download finished. Uploading to RapidShare.",
5 => "Upload to RapidShare finished. Job finished.",
7 => "Upload failed 3 times for unknown reasons. Job aborted.",
8 => "Upload failed because the file is black listed.",
9 => "Download failed for unknown reasons.",
11 => "Enqueued for later processing because this account already downloads 5 files at the same time.");
foreach($myArray as $valor)
{
{
$tmp[3] = $status[$tmp[3]];
}
$passer[] = $tmp ;
}
//return....
return($passer);
}