>/tmp/out.txt 2>&1 &"); $i = 0; foreach ($files as $file) { shell_exec("./http.sh '".$file."' '".$names[$i]."' >>/tmp/http.txt 2>&1 &"); $i = $i+1; } exit; } else { echo json_encode(array("error" => "empty file")); } break; case 'GET': echo '
LINKS:

NAMES:

'; break; } ?>