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