Changeset 11490 for trunk/ippMonitor/raw
- Timestamp:
- Jan 31, 2007, 11:20:53 AM (19 years ago)
- Location:
- trunk/ippMonitor/raw
- Files:
-
- 3 edited
-
getimage.php (modified) (1 diff)
-
ipp.copy.dat (modified) (1 diff)
-
ipp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/getimage.php
r10963 r11490 13 13 } 14 14 15 $basename = escapeshellarg($_GET[name]);16 $basename = str_replace ('..','',$basename);17 18 15 putenv("PERL5LIB=$PERLLIB:"); 19 16 $PATH = getenv("PATH"); 20 17 putenv("PATH=$BINDIR:$PATH"); 18 19 # echo "args: $args<br>"; 20 21 # $basename may contain filename@filerule 22 $basename = strtok($_GET[name],"@"); 23 $filerule = strtok("@"); 24 25 # echo "basename: $basename<br>"; 26 # echo "filerule: $filerule<br>"; 27 28 # need to supply the camera as well... 29 # exec ("ipp_filerule.pl --site=$SITE $basename", $output, $status); 30 31 if ($filerule) { 32 if ($filerule == "PPIMAGE.JPEG1") { 33 $basename = "$basename.b1.jpg"; 34 } 35 if ($filerule == "PPIMAGE.JPEG2") { 36 $basename = "$basename.b2.jpg"; 37 } 38 } 39 40 $basename = escapeshellarg($basename); 41 $basename = str_replace ('..','',$basename); 21 42 22 43 exec ("ipp_datapath.pl --site=$SITE $basename", $output, $status); -
trunk/ippMonitor/raw/ipp.copy.dat
r10963 r11490 26 26 menulink | menuselect | link | Raw Detrend Exp | rawDetrendExp.php 27 27 menulink | menuselect | link | Raw Science Exp | rawScienceExp.php 28 menulink | menuselect | link | Raw Unknown Exp | rawUnknownExp.php 28 29 menutop | menutop | plain | | 29 30 menulink | menuselect | link | Summit Exp | summitExp.php 30 31 menulink | menuselect | link | Copy Pending Exp | pzPendingExp.php 31 32 menulink | menuselect | link | New Exp | newExp.php 33 menutop | menutop | plain | | 34 menulink | menuselect | link | Failed Raw Imfiles | rawImfile_failed.php 35 menulink | menuselect | link | Failed Raw Exp | rawExp_failed.php -
trunk/ippMonitor/raw/ipp.php
r10621 r11490 200 200 echo "<body>\n"; 201 201 202 $root = "/ phpipp";202 $root = "/ippMonitor"; 203 203 204 204 if (! $project) { $project = "none"; } … … 307 307 } 308 308 309 // expect image supplied with key=name 310 // this function should define matching hidden inputs in the form 311 function insert_backref ($page, $key, $link) { 312 313 if ($_SERVER[REQUEST_METHOD] == 'GET') { 314 $name = $_GET[$key]; 315 } else { 316 $name = $_POST[$key]; 317 } 318 319 if ($name) { 320 echo "back to <a href=\"$page?$link&$key=$name\"> $name </a><br>\n"; 321 } 322 } 323 309 324 // $myPage = $_SERVER[SCRIPT_NAME] . "?pass=$pass"; 310 325
Note:
See TracChangeset
for help on using the changeset viewer.
