[PHP-DEV] Re: Bug #12200 Updated: getimagesize() JPG Bug
function randFileName() { mt_srand ((double) microtime() * 100); $randval = mt_rand(); return $randval; } function fileExists($file) { error_reporting(5); $fp = fopen($file, "r"); if ($fp) { fclose($fp); return 1; }
[PHP-DEV] Bug #12200: getimagesize() JPG Bug
From: [EMAIL PROTECTED] Operating system: Win 2000 PHP version: 4.0.6 PHP Bug Type: GD related Bug description: getimagesize() JPG Bug GD library doesn't work properly when you call getimagesize() for jpeg image!It doesn't return proper width and height of image (usually ret