ID: 21479 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: GetImageSize related Operating System: Windows 2000 PHP Version: 4.3.0 New Comment:
OK - just checked, and php crashes regardless of the '@' before getimagesize Previous Comments: ------------------------------------------------------------------------ [2003-01-20 04:02:28] [EMAIL PROTECTED] Please use the 'Edit Submission' link when adding a comment to your own report. And do you get any error with the getimagesize() ? (remove that @ in front of it) ------------------------------------------------------------------------ [2003-01-06 21:02:00] [EMAIL PROTECTED] this happens with every image. ------------------------------------------------------------------------ [2003-01-06 20:54:40] [EMAIL PROTECTED] Does this happen with every image you try or a specific image or two? In the event of the latter could you please provide a URL to the offending image. ------------------------------------------------------------------------ [2003-01-06 20:17:33] [EMAIL PROTECTED] function ImgExists($f) { $r=@getimagesize("http://localhost/$f"); return $r[2]!=0; } if(ImgExists('icon.jpg')) echo('exists!'); when calling this function, php.exe (4.3.0 as CGI in IIS4) is crashing. remark out the 'getimagesize' line, and it won't crash. i can email my php.ini on request. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21479&edit=1