Changeset 40437 for trunk/ippMonitor/raw/skyplot.php
- Timestamp:
- May 16, 2018, 2:40:02 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/skyplot.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/skyplot.php
r28601 r40437 12 12 $MISSING = "missing.png"; 13 13 14 ### we must have been past arguments with GET: 14 ### XXX TEST 15 # $outfile = $MISSING; 16 # $file = fopen ($outfile, "r"); 17 # if ($file && !$debug) { 18 # header ('Content-Type: image/png'); 19 # fpassthru ($file); 20 # } 21 # exit(); 22 23 24 ### we must have been passed arguments with GET: 15 25 if ($_SERVER[REQUEST_METHOD] != 'GET') { 16 26 exit (); … … 47 57 $outfile = $_GET[output]; 48 58 49 $output = shell_exec("skyplot.dvo $infile $outfile");//, $output, $status); 59 // $output = shell_exec("skyplot.dvo $infile $outfile");//, $output, $status); 60 exec("skyplot.dvo $infile $outfile", $output, $status); 50 61 51 62 if ($debug) { 63 echo "output from skyplot.dvo<br>\n"; 52 64 for ($i = 0; $i < count($output); $i++) { 53 65 echo "output $i: $output[$i]<br>"; … … 57 69 } 58 70 59 # use these to check the environment 60 # passthru ("env"); 71 // use these to check the environment 72 // passthru ("env"); 73 61 74 62 75 $file = fopen ($outfile, "r");
Note:
See TracChangeset
for help on using the changeset viewer.
