global $start;
        //for total processing time.
        header('Cache-Control: no-cache, must-revalidate');
        header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
        header('Content-type: application/json');
        $time = microtime();
        $time = explode(' ', $time);
        $time = $time[1] + $time[0];
        $finish = $time;
        $total_time = round($finish - $start, 4);
        $this->outData['dog_years'] = $total_time;
        echo stripcslashes(json_encode($this->outData));
        //echo "<pre>";
        //print_r(($this->outData));
    }
}
$server = new dataServer(true);
$inData = $server->getCleanPost();
if (isset($_POST["rex"])) {
    switch ($inData["rex"]) {
        //1 - Fetch document information & subsequent page data.
        case "woof":
            $server->reactivateAccount($inData);
            break;
        default:
            break;
    }
} else {
    //Lookup the user ID
    $server->lookupUser($inData);
}