Changeset 13281 for trunk/ippMonitor/raw/getimage.php
- Timestamp:
- May 4, 2007, 5:29:18 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/getimage.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/getimage.php
r13264 r13281 1 1 <?php 2 3 $debug = 0; 2 4 3 5 ### these need to be set to the correct locations!! … … 56 58 } 57 59 58 if ( 0) {60 if ($debug) { 59 61 echo "basename: $basename<br>"; 62 for ($i = 0; $i < count($output); $i++) { 63 echo "output $i: $output[$i]<br>"; 64 } 60 65 echo "output: $output[0]<br>"; 61 66 echo "status: $status<br>"; … … 65 70 66 71 $file = fopen ($filename, "r"); 67 if ($file ) {72 if ($file && !$debug) { 68 73 # do I need to use image/jpg? can I modify this to image/png, etc, based on the type? 69 74 header ('Content-Type: image/jpg');
Note:
See TracChangeset
for help on using the changeset viewer.
