Sliipeetais Posted August 14, 2005 Report Share Posted August 14, 2005 Kā uzzināt jaunizveidotas (bez reālas adreses) bildes izmēru? Izmērs vajadzīgs priekš header('Content-length: '.filesize(IZMEERS)); Link to comment Share on other sites More sharing options...
bubu Posted August 14, 2005 Report Share Posted August 14, 2005 <?php ob_start(); imagepng($im_handle); $garums = ob_get_length(); header("Content-length: $garums"); ob_end_flush(); ?> Link to comment Share on other sites More sharing options...
Sliipeetais Posted August 14, 2005 Author Report Share Posted August 14, 2005 <?php ob_start(); imagepng($im_handle); $garums = ob_get_length(); header("Content-length: $garums"); ob_end_flush(); ?> 20922[/snapback] Paldies! Link to comment Share on other sites More sharing options...
Recommended Posts