i'm trying to write a script that will trigger other scripts on other sites something like this for ($i=0; $i<20; $i++) { file_get_content("http://www.myothersite.com/file$i.php"); } PHP: however, those other scripts take a while to execute and i don't want my trigger script to wait that long. So i want to terminate the connection as soon as i receive a couple bits . In other words - basically what i need is just to make a call to those remote scripts and imediately terminate the connection and make the call to the next script any idea ?