Does anyone know how to stop the browser from killing a script for you? I've tried disabling PHP timeouts and that didn't work. I also tried using wget but it still dies sometimes. I'm using the code below to call the code, anyone have any ideas on how to keep it running no matter how long it takes?
$myurl = "wget --timeout=0 http://www.mydomain.com/transfer.php?id=".$id;
$shell_results = system($myurl, $retval);