IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 19, 2010, 11:06:08 AM (16 years ago)
Author:
Serge CHASTEL
Message:

Warp Processed Images Scripts

File:
1 edited

Legend:

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

    r28654 r28688  
    3636}
    3737
    38 # $basename may contain filename@filerule
     38// $basename may contain filename@filerule
    3939$basename = $_GET[name];
     40if ($basename == "noimage.noimage") {
     41  $file = fopen ("noimage.png", "r");//$MISSING?
     42  if ($file && !$debug) {
     43    # do I need to use image/jpg? can I modify this to image/png, etc, based on the type?
     44           header ('Content-Type: image/jpg');
     45    fpassthru ($file);
     46  }
     47  exit ();
     48}
    4049$filerule = $_GET[rule];
    4150$camera   = $_GET[camera];
Note: See TracChangeset for help on using the changeset viewer.