Changeset 40478 for branches/czw_branch/20170908/ippMonitor/raw/skyplot.php
- Timestamp:
- Jun 27, 2018, 3:22:45 PM (8 years ago)
- Location:
- branches/czw_branch/20170908/ippMonitor
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
raw/skyplot.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20170908/ippMonitor
-
Property svn:mergeinfo
set to
/branches/czw_branch/20160809/ippMonitor merged eligible /trunk/ippMonitor merged eligible
-
Property svn:mergeinfo
set to
-
branches/czw_branch/20170908/ippMonitor/raw/skyplot.php
r28601 r40478 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.
