>/tmp/out.txt 2>&1 &"); foreach ($urls as $url) { shell_exec("./youtube.sh ".escapeshellarg($url)." >>/tmp/youtube.txt 2>&1 &"); } exit; } else { echo json_encode(array("error" => "empty url")); } break; case 'GET': echo '