import repository from arizona
[raven.git] / tools / phonehome / report_tarbench_yesterday.php
1 <html><head>
2 <title>results</title></head><body>
3 <?php
4
5 function fgetsall($handle)
6 {      
7   $buf  = "";      
8   while(!feof($handle)) {         
9     $buf .= fgets($handle); 
10   }      
11   return $buf; 
12 }
13
14
15 $exec = "python /repository/phonehome/report.py arizona_stork_install tarbench yesterday";
16 #echo $exec;
17 $handle = popen($exec, "r") or die("problem running : $exec");
18 $contents = fgetsall($handle);
19 echo $contents;
20
21 ?>
22 </body></html>