IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10963 for trunk/ippMonitor/raw


Ignore:
Timestamp:
Jan 8, 2007, 11:33:32 AM (20 years ago)
Author:
eugene
Message:

all sorts of things...

Location:
trunk/ippMonitor/raw
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/raw/getimage.php

    r10595 r10963  
    11<?php
    22
    3 # $IMAGEDIR = "/data/alala/eugene/swtests/pantasks/";
    4 $CONFIGDIR = "/data/alala/eugene/src/panstarrs/ipp/config/ipprc.config";
     3### these need to be set to the correct locations!!
     4$PERLLIB = "/home/kiawe/eugene/psconfig/dev.linux/lib";
     5$BINDIR = "/home/kiawe/eugene/psconfig/dev.linux/bin";
     6$SITE = "/home/kiawe/eugene/.ipprc";
    57$MISSING = "missing.png";
    68
     
    1113}
    1214
    13 $basename = $_GET[name];
     15$basename = escapeshellarg($_GET[name]);
    1416$basename = str_replace ('..','',$basename);
    1517
    16 $filename = system ("ipp_datapath.pl --site=$CONFIGDIR $IMAGEDIR", $status);
     18putenv("PERL5LIB=$PERLLIB:");
     19$PATH = getenv("PATH");
     20putenv("PATH=$BINDIR:$PATH");
     21
     22exec ("ipp_datapath.pl --site=$SITE $basename", $output, $status);
     23
     24$filename = $output[0];
    1725if ($status) {
    1826  $filename = $MISSING;
     27}
     28
     29if (0) {
     30  echo "basename: $basename<br>";
     31  echo "result:   $result<br>";
     32  echo "output:   $output[0]<br>";
     33  echo "status:   $status<br>";
     34  echo "filename: $filename<br>";
     35  exit ();
    1936}
    2037
  • trunk/ippMonitor/raw/ipp.copy.dat

    r9439 r10963  
    2424
    2525menutop   | menutop      | plain   | &nbsp;                       |
     26menulink  | menuselect   | link    | Raw Detrend Exp              | rawDetrendExp.php             
     27menulink  | menuselect   | link    | Raw Science Exp              | rawScienceExp.php             
     28menutop   | menutop      | plain   | &nbsp;                       |
    2629menulink  | menuselect   | link    | Summit Exp                   | summitExp.php                         
    2730menulink  | menuselect   | link    | Copy Pending Exp             | pzPendingExp.php             
    2831menulink  | menuselect   | link    | New Exp                      | newExp.php                   
    29 menulink  | menuselect   | link    | Raw Detrend Exp              | rawDetrendExp.php             
    30 menulink  | menuselect   | link    | Raw Science Exp              | rawScienceExp.php             
  • trunk/ippMonitor/raw/ipp.detrend.dat

    r9439 r10963  
    2525menutop   | menutop      | plain   | &nbsp;                       |
    2626menulink  | menuselect   | link    | Detrend Frames               | masterDetrendFrames.php
    27 menulink  | menuselect   | link    | Detrend Runs                 | detRunSummary.php             
     27menulink  | menuselect   | link    | Detrend Runs                 | detRun.php             
     28menulink  | menuselect   | link    | Detrend Iterations           | detRunSummary.php             
     29menulink  | menulink     | plain   | &nbsp;                       |
    2830menulink  | menuselect   | link    | Raw Detrend Exp              | rawDetrendExp_detrend.php
    2931menulink  | menuselect   | link    | Input Detrend Exp            | detInputExp.php
    3032menulink  | menuselect   | link    | Proc Detrend Exp             | detProcessedExp.php
     33menulink  | menuselect   | link    | Norm Detrend Exp             | detNormalizedExp.php
    3134menulink  | menuselect   | link    | Resid Detrend Exp            | detResidExp.php
    32 menulink  | menuselect   | link    | Norm Detrend Exp             | detNormalizedExp.php
  • trunk/ippMonitor/raw/ipp.science.dat

    r9439 r10963  
    2727menulink  | menuselect   | link    | P2 Processed Exp             | p2ProcessedExp.php           
    2828menulink  | menuselect   | link    | P3 Processed Exp             | p3ProcessedExp.php           
     29menutop   | menutop      | plain   | &nbsp;                       |
    2930menulink  | menuselect   | link    | P1 Pending Exp               | p1PendingExp.php             
    3031menulink  | menuselect   | link    | P2 Pending Exp               | p2PendingExp.php             
Note: See TracChangeset for help on using the changeset viewer.