| Posted by Good Man on 10/26/07 14:31 
"C. (http://symcbean.blogspot.com/)" <colin.mckinnon@gmail.com> wrote innews:1193403723.633067.95850@o3g2000hsb.googlegroups.com:
 
 
 > 2) set the content type for the browser to use in a header(...) call
 > in your PHP
 
 that is absolutely the way to go.  don't mess with apache at all, use
 
 <img src="imageDisplay.php?key=39478197">
 
 and have imageDisplay.php use:
 
 header("Content-type: image/png");
 $im = imagecreatefrompng("test.png");
 imagepng($im);
 
 
 http://ca.php.net/manual/en/function.imagepng.php
  Navigation: [Reply to this message] |