Paracoding here, I have something like this:
Code PHP:
class curl_req {
   public function getResults($arr) {
    //boring logic, make curl request, arrary push results, then return the array
require_once 'inc/curl_req.php';
$arr = array(
$ver = new curl_req();
//print results

Works like a charm, I print the results to a table in the web browser, set the time limit to 0 for larger files. My problem:

These files have to be run from a remote linux box. I want to be able to do an ajax request or similar to check the status, is this possible? How?